How it works
The result counts complete years, then complete months, then remaining days. It uses real month lengths and leap years.
Input query strings and outputs
Use an input name in this page’s URL as ?name=value, and join additional inputs with &. Portable shared links may instead use the compact ?ac= state parameter.
Input query strings
2-
?birthDate=Date of birthDate · Required · Default: 1990-01-01
-
?targetDate=Age on dateDate · Optional · Default: current date
Outputs
4-
exactAgeExact ageText · Primary output
-
totalDaysTotal daysWhole number
-
nextBirthdayNext birthdayDate
-
daysToBirthdayDays until next birthdayWhole number
Target date
The target date defaults to today in the browser. Change it to calculate age on a past or future date.
February 29
For a February 29 birth date, a non-leap-year birthday is clamped to the last day of February.