Time zones + date math
time_convertCurrent time in any time zones, convert a time between zones (DST-correct), and date arithmetic: add/subtract durations, days between dates, weekday, ISO week, Unix time. Computed locally from the IANA time-zone database — no rate limits, exact. Zones are IANA names (America/New_York, Asia/Tokyo, UTC). Price: free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | e.g. "+3d 4h", "-90m", "+2w" | |
| time | No | ISO time, "now", or a Unix timestamp; naive times are read in from_tz | |
| to_tz | No | ||
| until | No | second ISO date: returns the difference | |
| from_tz | No | UTC |