Find the number of days in any month of any year.
Subtracting the first day of the following month from the first of this month yields the exact number of days. Month lengths vary and February depends on leap years, so the difference method stays accurate for every case.
Days in Month
Days in month = first day of next month - first day of this month
Days in month = first day of next month - first day of this month Subtracting the first day of the following month from the first of this month yields the exact number of days.
Month lengths vary and February depends on leap years, so the difference method stays accurate for every case.
This calculator takes 2 inputs: Year, Month. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.