Skip to content

日期时间

即时、私密且免费

月份天数计算器.

准确了解任意年份任意月份的天数,并正确处理闰年。

此计算器尚未完全翻译——部分文本以英文显示。

设备端计算无需注册
01

输入数值

输入时结果会更新。

本月天数: 29 天

本月天数

29天
2024年是闰年,因此二月有29天。

明细

月二月 2024
闰年是
全年天数366

使用方法

闰年有366天,而非365天。能被4整除的年份为闰年,但世纪年份必须能被400整除才是闰年。这就是为什么1900年不是闰年,而2000年是闰年。

Cite this calculator

Canonical URL: https://mathify.one/zh/date/days-in-month

Cite as: Mathify. (n.d.). 月份天数计算器. https://mathify.one/zh/date/days-in-month

Use Cases

Plan events and schedules

Quickly determine the exact number of days in a specific month for planning projects, billing cycles, or personal events.

Example: Check how many days are in February 2024 to plan a 29-day challenge.

Verify historical dates

Use the calculator to confirm the number of days in a month for historical research or genealogy, especially for century years.

Example: Find out if February 1900 had 28 or 29 days.

Frequently Asked Questions

How does the calculator determine the number of days in a month?
The calculator uses the standard Gregorian calendar rules. For most months, the number of days is fixed (e.g., April has 30 days). For February, it checks if the year is a leap year: divisible by 4, but not by 100 unless also divisible by 400. This correctly handles century years like 1900 (not a leap year) and 2000 (a leap year).
Why does February have 29 days in leap years?
Leap years add an extra day to February to keep the calendar year aligned with the Earth's orbit around the Sun. The rule is: a year is a leap year if it is divisible by 4, except if it is divisible by 100, unless it is also divisible by 400. So 2000 was a leap year, but 1900 was not.
Can I use this calculator for any year, like 2023 or 2100?
Yes, you can enter any year. The calculator applies the Gregorian calendar rules, which are valid for all years in the Gregorian system. For example, 2100 will not be a leap year because it is divisible by 100 but not by 400, so February will have 28 days.

Tips & Common Mistakes

Tips

  • Remember that months with 31 days: January, March, May, July, August, October, December. Months with 30 days: April, June, September, November. February is the only variable month.
  • For leap year checks, remember the rule: divisible by 4, but not by 100 unless also divisible by 400. This means 2000 was a leap year, but 1900 was not.
  • If you're planning for a specific year, double-check the year input to avoid mistakes, especially for century years like 1900 or 2000.
  • Use this calculator for quick reference, but for official purposes, always cross-check with a reliable calendar.

Common Mistakes to Avoid

  • Assuming every year divisible by 4 is a leap year. For example, 1900 is divisible by 4 but is not a leap year because it is divisible by 100 and not by 400.
  • Forgetting that February has 28 days in common years and 29 in leap years. Always verify the year before assuming.
  • Confusing the number of days in months like April (30) and May (31). Use the calculator to avoid memory slips.

Last updated: August 13, 2026