Date of birth and an as-of date
Enter a birth date and, optionally, a different date to measure to; it defaults to today. Results are totals in seven units: years, months, weeks, days, hours, minutes and seconds. They are not an "X years, Y months, Z days" chain, so each tile counts the whole span in that unit.
How years and months are counted
The year count starts from the difference in calendar years and drops by one if the target month is earlier, or is the same month with an earlier day. Months use the same rule on months and days. Days, weeks, hours, minutes and seconds are floor divisions of the millisecond difference.
A worked example
From 15 May 1990 to 15 May 2026 the tool reports 36 years, 432 months, 1,878 weeks and 13,149 days. Measured to 14 May 2026 instead, it reports 35 years, because the day of the month has not been reached yet.
Edge cases
- Month arithmetic does not clamp to month end, so 31 January to 28 February counts as a full month in a non-leap year.
- Day totals assume 24-hour days, so a daylight-saving change can shift them by an hour.
- A future birth date or a blank field returns no result.
Where it stops
No next-birthday countdown, no zodiac output and no combined year-month-day breakdown. To add or subtract days from a date use the date calculator; to compare two people's ages use the age difference calculator.
Questions people ask
Why is the month count sometimes one less than expected?
Because the day of the month has not been reached yet in the target month.
Does it handle leap days?
Yes. Total days come from real dates, so 29 February counts normally.