Convert a time between zones
convert_timeConvert one time from from_zone into every zone in to_zones, marking any day change, plus the UTC instant. The time is wall-clock in from_zone unless it carries an offset or a trailing Z. '3pm tomorrow' works.
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' |