Time & scheduling
Timezone-aware clocks, epoch conversion, cron parsing, durations.
Current time
GET /api/timeCurrent time: UTC ISO, epoch seconds/ms, day of week/year, ISO week - optionally rendered in any IANA timezone via ?tz=.
try in playground →Time convert
POST /api/time-convertConvert between epoch (s or ms), ISO 8601, and any IANA timezone. Give a value, get every representation back.
try in playground →Cron next runs
POST /api/cron-nextParse a 5-field cron expression and return the next N run times (UTC).
try in playground →Duration parse/humanize
POST /api/durationParse a duration like "2h30m" / "1d4h" / "90s" to seconds, or humanize a number of seconds.
try in playground →Date difference
POST /api/date-diffDifference between two dates/times in ms, seconds, minutes, hours, days, and a human summary.
try in playground →Business days
POST /api/business-daysCount business days (Mon–Fri) between two dates, inclusive of the start, exclusive of the end. Optional list of holiday …
try in playground →Age calculator
POST /api/ageCompute a precise age (years, months, days) from a birth date to today (or a given date), plus total days.
try in playground →Relative time
POST /api/relative-timeFormat a timestamp as a human relative phrase ("3 hours ago", "in 2 days") versus now or a reference time.
try in playground →Date arithmetic
POST /api/add-timeAdd (or subtract) a duration to a date. duration like "2d", "-3h", "1w 2d", "90m". Returns the resulting UTC ISO timesta…
try in playground →Public holidays
GET /api/public-holidaysPublic holidays for a country and year via Nager.Date (keyless, 100+ countries): date, local name, English name, nationw…
try in playground →