每月天数 闰年在线计算器

Days in Month & Leap Year Check

判断结果
-
全年总天数
365

闰年规则与知识

公历闰年判定口诀

  • 四年一闰,百年不闰,四百年再闰。

if (year % 400 == 0) -> Leap (闰年)

else if (year % 100 == 0) -> Common (平年)

else if (year % 4 == 0) -> Leap (闰年)

else -> Common (平年)

有趣的事实

  • 平年有 365 天,闰年有 366 天(多出的一天是 2月29日)。
  • 1900年是平年(能被100整除但不能被400整除),而2000年是闰年。
  • 闰年的设立是为了弥补因人为历法规定造成的年度天数与地球实际公转周期(约365.2422天)的时间差。