Two calendar dates
Enter a start date and an as-of date as year, month, and day. The page returns the completed years, months, and days, the exact number of days, and the next anniversary of the start date. Hours, minutes, and seconds belong on the time calculator. This page does not add a duration to a date.
The calendar is the proleptic Gregorian calendar used by ISO 8601. A year divisible by 4 is a leap year, except a year divisible by 100 is a leap year only when it is also divisible by 400. The year 1900 is not a leap year. The year 2000 is. February 29 is rejected in every other year, including 29 February 2023.
How the months and days are counted
Years are the difference of the years, months the difference of the months, and days the difference of the days. While the days are negative, the length of the previous month is added and one month is subtracted. January borrows December of the previous year. While the months are negative, 12 is added and one year is subtracted.
That borrow is why 31 January 2019 through 1 March 2019 is 0 years, 0 months, and 29 days. It is also why 29 February 2000 through 1 March 2001 is 1 year, 0 months, and 0 days, and 29 February 2000 through 28 February 2001 is 0 years, 11 months, and 30 days. In a non-leap year, a February 29 anniversary is 1 March.
The total day count is the exact number of days from the earlier date to the later date. It is checked two ways, and those counts have to agree. The year, month, and day breakdown is not turned back into that day count, because months have different lengths.
1 January 2000 through 1 January 2001 is 1 year, 0 months, and 0 days, which is 366 days because 2000 is a leap year. The same start and as-of date is 0 years, 0 months, and 0 days. On the anniversary, the countdown runs to the following anniversary, and the page says the anniversary is today.
A date that has not happened yet
If the start date is after the as-of date, the result is the time until that date. 1 January 2030 from 1 January 2026 is 4 years, 0 months, and 0 days, which is 1,461 days. The page does not show a negative age.
“Use today’s date” writes the browser’s local calendar date into the three as-of fields when you click it. The calculation reads those fields. It does not keep a clock running, and it does not ask a server for the time. You can edit the fields after the button fills them.
If the next anniversary would fall after year 9999, the age and the day count still appear. The anniversary line says there is no next anniversary inside the years 1 through 9999. An anniversary that is still inside 9999 is shown, including 1 March 9999 for a February 29 start when the as-of date is 28 February 9999.
What this page does not do
It does not decide whether someone has reached a legal age for a contract, a benefit, or a statute. It does not convert time zones or name a holiday. Calculator.net’s age calculator, reviewed 16 October 2026, counts 28 February to 28 March as one month. This page uses the repeated borrow above so 31 January has one result.
Frequently asked questions
What happens to a February 29 birthday in a common year?
The anniversary is 1 March. 29 February 2000 through 1 March 2001 is exactly
one year.
Are the dates sent to analytics?
No. Analytics may record that this calculator ran. The years, months, days,
and results stay in this browser.
Sources & review
- ISO 8601 — Date and time format — ISO
- Age Calculator — Calculator.net
Last reviewed: . The formula is reproduced above so you can check the math independently.
A calendar interval only. This page does not decide a legal age or convert a time zone.