ISO date age

iso-date-age · version 1.0.0 · Dates & times (UTC, ISO 8601) · free, no key needed

Compute the calendar-aware elapsed years, months, and days between a birth date and an as-of date.

Use when you need to: iso date age · age in years months days · elapsed calendar time between dates.

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "birth_date": "2020-01-15",
  "as_of_date": "2026-09-15"
}

Response:

{
  "result": {
    "years": 6,
    "months": 8,
    "days": 0
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "iso-date-age",
  "version": "1.0.0",
  "input": {
    "birth_date": "2020-01-15",
    "as_of_date": "2026-09-15"
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/iso-date-age/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"birth_date":"2020-01-15","as_of_date":"2026-09-15"}'

The machine-readable contract is at /v1/tools/iso-date-age/versions/1.0.0.

CLI

node cli.mjs run iso-date-age 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.