Shape · Dates and time
Convert Timezone
Shifts times from one time zone to another, with daylight saving handled. For example, UTC to Europe/Warsaw.
Also known as: Time zone, UTC
How it works
Each conversion row names a column, a from zone, a to zone and an optional output column. Zones are IANA names such as UTC or Europe/Warsaw; a new row starts as UTC to UTC. The node reads the timestamp as wall-clock time in the from zone and writes it as wall-clock time in the to zone, so the result is a plain timestamp with no zone attached, and daylight saving is applied per date. Leave the output blank to convert in place, or name a column to keep the original. Rows with a blank column or zone are ignored.
Inputs and outputs
Inputs
data— Table
Outputs
data— Table
Settings
The Attributes panel of Convert Timezone, as in the app: the controls work, but nothing runs — there is no data behind it.
The same settings, as the Assistant writes them
conversions: [{column, fromTz, toTz, outputColumn?}]
Example
Event logs arrive in UTC and you report in Polish local time. Add a conversion: column event_utc, from UTC, to Europe/Warsaw, output event_local. The two rows below straddle the spring clock change.
| event_utc | event_local |
|---|---|
| 2024-03-31 00:30:00 | 2024-03-31 01:30:00 |
| 2024-03-31 01:30:00 | 2024-03-31 03:30:00 |