Technical & Developer Tools
ISO 8601 Birth Date Age Calculator
Calculate age from standard ISO 8601 date-time strings.
ISO 8601 duration
- Age
- Total days (P…D)
- Birth date as ISO week date
Step-by-step working
- Parsed 2000-03-10 and 2026-11-29
- Interval = 26 Y, 8 M, 19 D
- Duration = P26Y8M19D
What Is the ISO 8601 Birth Date Age Calculator?
An ISO 8601 Birth Date Age Calculator is a tool that reads birth dates written in the International Organization for Standardization (ISO) 8601 format and returns the age, as values and as an ISO 8601 duration.
ISO 8601 writes dates from largest to smallest unit: YYYY-MM-DD, such as 2000-03-10. Date-times add T and a time, with an optional offset: 2000-03-10T14:25:00+05:30.
Age can be written as an ISO 8601 duration: P26Y8M15D means a period of 26 years, 8 months and 15 days. The format sorts correctly as text and avoids day-month confusion.
How Does the ISO 8601 Birth Date Age Calculator Work?
The ISO 8601 Birth Date Age Calculator works by parsing the YYYY-MM-DD parts, computing the calendar interval and formatting the result as PnYnMnD.
- Enter the ISO date: Type the birth date as YYYY-MM-DD, with an optional time and offset.
- Enter the reference date: Use today or another ISO date.
- Parse and validate: The calculator checks the month (01–12) and the day for that month.
- Read the duration: The age appears as years, months, days and as a duration string such as P26Y8M15D.
ISO 8601 Birth Date Age Calculator Formula
The formula is Duration = P{Years}Y{Months}M{Days}D, built from the calendar interval between the 2 ISO dates.
Age(ISO) = "P" + Y + "Y" + M + "M" + D + "D"
With time: P26Y8M14DT18H45MWeek form: P1393W (weeks only, not mixed with other units)
| Symbol | Meaning |
|---|---|
P | Duration designator ("period") |
Y, M, D | Years, months and days |
T | Separator before time units in a duration |
ISO 8601 Birth Date Age Calculator Example
Find the ISO 8601 duration from 2000-03-10 to 2026-11-25.
- Interval = 26 y, 8 m, 15 d
- Duration = P26Y8M15D
The age is P26Y8M15D.
ISO 8601 Birth Date Age Calculator Conversion Table
The table converts 6 ISO 8601 birth inputs into age durations on 2026-11-25:
| ISO 8601 Input | Meaning | Age Duration |
|---|---|---|
2000-03-10 | Calendar date | P26Y8M15D |
2000-03-10T14:25:00Z | Date-time in UTC | P26Y8M15D |
2000-03-10T14:25:00+05:30 | Date-time with offset | P26Y8M15D |
2000-070 | Ordinal date (day 70 of 2000) | P26Y8M15D |
2000-W10-5 | Week date (week 10, Friday) | P26Y8M15D |
1985-12-31 | Calendar date | P40Y10M25D |
The ordinal date 2000-070 and the week date 2000-W10-5 both name March 10, 2000, a Friday.
What Are the Uses of the ISO 8601 Birth Date Age Calculator?
The ISO 8601 Birth Date Age Calculator has 4 main uses: APIs, data exchange, health records and sorting.
- APIs: JSON APIs send birth dates as ISO 8601 strings.
- Data exchange: CSV and XML files use YYYY-MM-DD to avoid date-order errors.
- Health records: The Fast Healthcare Interoperability Resources (FHIR) standard stores birthDate as YYYY-MM-DD.
- Sorting: ISO dates sort in date order as plain text.
ISO 8601 Birth Date Age Calculator FAQ
What does P26Y8M15D mean?
P26Y8M15D means a period of 26 years, 8 months and 15 days.
Is 2000-3-10 valid ISO 8601?
No, ISO 8601 calendar dates use 2-digit months and days: 2000-03-10.
Written and reviewed by Iqbal Hussain. Last reviewed. Calendar rules and sources: methodology.
Related Technical & Developer Tools Tools
Time Zone Aware Age Calculator
Compare birth and reference timestamps across global time zones.
Unix Birth Timestamp Age Calculator
Calculate elapsed age from seconds-since-epoch Unix timestamps.
Birth Date Validator
Check date validity, leap day legality, and future date errors.
Excel Age Formula Generator
Generate DATEDIF and YEARFRAC spreadsheet age formulas.
Google Sheets Age Formula Generator
Generate cloud spreadsheet formulas for birth-date age tracking.
SQL Age Query Generator
Generate age calculation SQL queries for PostgreSQL, MySQL, and SQLite.