Exact age in years, months, and days
Exact age from a birth date to a target date, broken into years, months, and days, plus total days lived, total hours lived, the weekday of birth, and days until the next birthday. Results match the interactive calculator at everycalc.xyz; every response includes a calculator_url deep link to it.
get/api/v1/calculate/age
Request
- Base URL: https://everycalc.xyz
- URL: https://everycalc.xyz/api/v1/calculate/age
- Auth: none declared
Query parameters
birth_datestring required
Date of birth in YYYY-MM-DD format.
target_datestring
Date to calculate the age as of, in YYYY-MM-DD format. If omitted, today is used, matching the page.
Response
Calculation result.
Changes
No recorded changes to this operation across all 1 revision of this API.