SiteCheck Date Calculator is a paid API for AI agents from api.sitecheck-api.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-16).
Performs date arithmetic and timezone conversions: calculates differences between dates, adds or subtracts time units, retrieves date info including age, and converts times between IANA timezones.
Date and time calculations in pure code. op=diff: calendar years, months and days between two dates, and the total days. op=add or subtract: move a date by years, months, weeks, days, hours or minutes (month ends are clamped). op=info: weekday, ISO week, day of year, quarter, and age from birthDate. op=tz: a local date-time in one IANA time zone shown in another. Impossible dates are a 400 with the reason.
Returns a JSON object with the computed result for the requested operation: for 'diff', includes days, years, months, direction, totalDays, totalHours, totalWeeks, from, to, and checkedAt timestamp; for 'add'/'subtract', returns the resulting date; for 'info', returns age details; for 'tz', returns the converted datetime in the target timezone. All results are computed server-side using proleptic Gregorian calendar arithmetic.
GEThttps://api.sitecheck-api.workers.dev/api/date/calc?utm_source=zero.xyzChoose this endpoint when an agent needs precise calendar arithmetic — especially date differences with multi-unit breakdowns (days, weeks, months, years), date offsets, age calculations from a birthdate, or timezone conversions — without relying on the LLM's own date math, which can be error-prone. Ideal for workflows requiring deterministic, auditable date computations at very low cost ($0.001 per call).
| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
{
"type": "json",
"example": {
"op": "diff",
"to": "2026-10-15",
"days": 16,
"from": "2000-02-29",
"years": 26,
"months": 7,
"source": "Computed here (pure code, proleptic Gregorian calendar)",
"checkedAt": "2026-10-15T14:00:29.548Z",
"direction": "forward",
"totalDays": 9725,
"totalHours": 233400,
"totalWeeks": 1389
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"