Date Math
Date Math: Parse natural-language dates and relative times like "next Friday at 3pm", "in 2 weeks", "tomorrow morning" or "Dec 25 to Jan 2" into exact ISO datetimes, relative to a reference time and time zone. Use before acting on any date a user typed.
Answeringour last check, 2026-11-26
7 of 7checks answered this week
28 msmedian answer time
$0.001listed price per call
$0.001price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://date-math.datemath.workers.dev/v1/parse
| Category | Everything else |
|---|---|
| Provider host | date-math.datemath.workers.dev |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.001 | 30 ms |
| 2026-11-25 | valid payment request | 402 | $0.001 | 48 ms |
| 2026-11-24 | valid payment request | 402 | $0.001 | 18 ms |
| 2026-11-23 | valid payment request | 402 | $0.001 | 26 ms |
| 2026-11-22 | valid payment request | 402 | $0.001 | 37 ms |
| 2026-11-21 | valid payment request | 402 | $0.001 | 28 ms |
| 2026-11-20 | valid payment request | 402 | $0.001 | 19 ms |
| 2026-11-19 | valid payment request | 402 | $0.001 | 36 ms |
| 2026-11-18 | valid payment request | 402 | $0.001 | 37 ms |
| 2026-11-17 | valid payment request | 402 | $0.001 | 32 ms |
| 2026-11-16 | valid payment request | 402 | $0.001 | 35 ms |
| 2026-11-15 | valid payment request | 402 | $0.001 | 26 ms |
| 2026-11-14 | valid payment request | 402 | $0.001 | 30 ms |
| 2026-11-13 | valid payment request | 402 | $0.001 | 23 ms |
| 2026-11-12 | valid payment request | 402 | $0.001 | 32 ms |
| 2026-11-11 | valid payment request | 402 | $0.001 | 32 ms |
| 2026-11-10 | valid payment request | 402 | $0.001 | 21 ms |
| 2026-11-09 | valid payment request | 402 | $0.001 | 32 ms |
| 2026-11-08 | valid payment request | 402 | $0.001 | 28 ms |
| 2026-11-07 | valid payment request | 402 | $0.001 | 22 ms |
Example input (from the provider)
{
"body": {
"reference": "2026-11-07T14:00:00+08:00",
"text": "next friday at 3pm",
"timezone": "Asia/Manila"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"forward_date": {
"description": "Prefer future dates for ambiguous text (default true)",
"type": "boolean"
},
"reference": {
"description": "ISO 8601 datetime the text is relative to; default now",
"type": "string"
},
"text": {
"example": "next friday at 3pm",
"maxLength": 1000,
"type": "string"
},
"timezone": {
"description": "Default UTC",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"count": {
"type": "integer"
},
"reference": {
"type": "string"
},
"results": {
"items": {
"properties": {
"certain": {
"items": {
"type": "string"
},
"type": "array"
},
"end": {
"properties": {
"date": {
"type": "string"
},
"local": {
"type": "string"
},
"utc": {
"type": "string"
},
"weekday": {
"type": "string"
}
},
"required": [
"utc",
"local"
],
"type": "object"
},
"index": {
"type": "integer"
},
"matched": {
"type": "string"
},
"start": {
"properties": {
"date": {
"type": "string"
},
"local": {
"type": "string"
},
"utc": {
"type": "string"
},
"weekday": {
"type": "string"
}
},
"required": [
"utc",
"local"
],
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"text": {
"type": "string"
},
"timezone": {
"type": "string"
}
},
"required": [
"text",
"timezone",
"count",
"results"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}