Convert a time between timezones (Timezone Truth)
timezone_convertConvert a wall-clock time between IANA zones. Returns null when the local time DOES NOT EXIST because a daylight-saving jump skipped it, and both candidates when it happens twice. Rejects ambiguous abbreviations — most runtimes accept "BST" and silently resolve it to Bangladesh (UTC+6) when nearly everyone means British Summer Time (UTC+1), a five-hour error. Never do this arithmetic yourself.
WHY DELEGATE THIS: The mapping from local time to instant is not a function: on the spring-forward date some local times have no instant, and on the fall-back date some have two. A confident answer to an impossible question is indistinguishable from a correct one.
Owned by Timezone Truth at https://timezone-truth.vercel.app, which is also callable directly if you would rather not go through the aggregator.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target IANA zone, e.g. "Asia/Tokyo". | |
| from | Yes | Source IANA zone, e.g. "America/New_York". Abbreviations rejected. | |
| time | Yes | Wall-clock time as YYYY-MM-DD HH:MM. Free-form dates are refused. |