BestCalculator .app

Date Calculator

Count days between two dates, or add and subtract days, weeks, months, and years.

CalculationDays between counts midnights from the start date to the end date. Add or subtract moves one date by a calendar unit.
Start dateType the date in the format selected above.
End dateThe day count is the end minus the start. Same day is 0.

Smart Tips

• Days between counts midnights crossed. January 1 to January 2 is 1 day.

• February 29, 2024 plus one day is March 1, 2024.

• January 31 plus one month lands on the last day of February.

• February 29 plus one year lands on February 28 in a common year.

• 1900 is not a leap year. 2000 is a leap year.

• Age from a birth date is a different calculator.

The Formula

days = serial(end) − serial(start); months clamp the day

serialA whole-day count on the Gregorian calendar.
leapYear divisible by 4, except centuries not divisible by 400.
clampJanuary 31 plus 1 month becomes February 28 or 29.
weekSeven days, including a leap day if the week contains one.

The count does not include both endpoints. Adding a month or a year keeps the day number when that day exists.

Key Insights

Leap day

February 28, 2024 to March 1, 2024 is 2 days because February 29 is in the span.

Century rule

1900 has 28 days in February. 2000 has 29.

End of month

March 31 minus one month is February 29 in 2024 and February 28 in 2023.

Not age

This page does not turn a birth date into years, months, and days of age.

Frequently Asked Questions

Responsive Ad Space
-
Enter dates to calculate
-
-
-

Note:Months and years keep the day when it exists and otherwise use the last day of the month. February 29 plus one year is February 28. Leap years follow the Gregorian rule.

Responsive Ad Space