Calculate age between two dates — in years, months, days, weeks, hours, minutes, and seconds.
What is one month after 31 January? February has no 31st, so a calendar gives no clean answer, and age calculators that skip this question print odd results such as a negative number of days. This one settles it with a fixed rule: a month is counted from the birth date, and when the target month is too short the date falls back to that month's last day. The answer arrives in two shapes at once, a headline age in years, months and days, and a table of running totals, and the two shapes use the word months differently.
Take Date of Birth 31 January 2000 and Age at the Date of 1 March 2025. The page first counts whole months between the two month-and-year pairs (25 × 12 + 2 = 302). The birth date plus 302 months would be 31 March 2025, which is after 1 March, so it steps back to 301 months. Birth date plus 301 months lands in February 2025, which has only 28 days, so the anchor is 28 February 2025. The days left are 1 March − 28 February = 1. The headline reads 25 years, 1 month, 1 day. No step produces a negative day count.
The same rule explains the neighbours. Measured to 28 February 2025 the age is 25 years, 1 month, 0 days; to 31 March 2025 it is 25 years, 2 months, 0 days. A leap-day birthday works the same way: 29 February 2000 measured on 28 February 2025 reads 25 years, 0 months, 0 days, and on 1 March 2025 reads 25 years, 0 months, 1 day.
The table uses a different formula. Months is every whole month since birth, 301 here, which is why it is larger than the 1 month in the headline. Days is the difference between the two calendar dates, 9,161. Weeks is days ÷ 7 rounded down, 1,308. Hours, Minutes and Seconds multiply the days by 24, 1,440 and 86,400: 219,864 hours, 13,191,840 minutes and 791,510,400 seconds. Years is just the first number of the headline, 25.
Day counts come from calendar dates converted to UTC midnights, so the visitor's time zone and daylight saving changes cannot move them. Between 31 January and 31 March 2025 the table reads 59 days in New York, Karachi or Sydney. There is no time-of-day or birth-time field, so every day counts as exactly 24 hours.
They answer different questions. The age line counts the months left over after whole years, and the Months row counts every complete month since the birth date, which is years × 12 plus that leftover. Use the first for a form that asks for years and months, and the second for a total.
Zeros in the month and day slots. 15 May 1990 measured on 15 May 2026 reads 36 years, 0 months, 0 days, with 13,149 in the Days row. A day later it reads 36 years, 0 months, 1 day.
The birth date plus a number of months is cut back to the last day of a shorter month, so 31 January reaches 28 February in 2025 and 29 February in 2024. Test the dates on both sides of a month end if a deadline depends on the exact day.
Yes, within limits. The first picker starts in 1900 and the second one runs from 1900 to 100 years past the current year. A birth year earlier than 1900 is not offered.
No. They are the day count multiplied by 24, 1,440 and 86,400, so they are exact for midnight-to-midnight spans and ignore birth time and time zone.