Count completed Gregorian years, clamped months, and remaining UTC calendar days between two valid dates.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Strict date-only values complete whole years first, then clamped calendar months, then count remaining UTC midnights. Total days separately divides the exact UTC-midnight interval by 86,400,000 milliseconds.
Birthdate: 1990-06-15 Reference date: 2025-03-20
Age: 34 years, 9 months, 5 days Total days: 12,697 Total weeks: 1,813 Total hours: 304,728 Born: 1990-06-15 As of: 2025-03-20 Next birthday in 87 days (2025-06-15)
Eligibility forms count completed years, genealogy notes compare known dates, and birthday plans find the next anniversary.