Convert a time between zones
convert_timeConvert a time from one time zone to multiple others, with options for handling daylight saving time transitions.
Instructions
Convert a time from one place to others. The input time is read as wall-clock time in from_zone unless it carries an offset or a trailing Z. Accepts '2026-09-10 15:00', an ISO timestamp, or a phrase like '3pm tomorrow'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gap | No | What to do with a time that does not exist because the clocks jumped forward: 'forward' takes the time after the jump, 'backward' the time before it. Without this, such a time is refused. | |
| fold | No | Which occurrence of a time that happens twice because the clocks went back. Default 'first'. | |
| time | Yes | '2026-09-10 15:00', '2026-09-10T15:00:00Z', '3pm tomorrow', 'now' | |
| to_zones | Yes | Places to convert into | |
| from_zone | Yes | Place the time is given in, e.g. 'Warsaw' or 'Europe/Warsaw' |