Shift Time Zone
Description
Converts a date from given timezone to destination time zone. A new column is created for the results.
Use
- Argument:
- Select an argument. (Date)
- Source time zone:
- Enter source time zone.
- Example: Europe/Berlin
- Enter source time zone.
- Destination time zone:
- Enter destination time zone.
- Example: America/Los Angeles
- Enter destination time zone.
- Output field name:
- Enter an output field name.
Example
Date value | Source time zone | Destination time zone | ShiftTimeZone() returns |
---|---|---|---|
2022-02-17 05:30:00.000 | Europe/Berlin | American/Los Angeles | 2022-02-17 14:30:00.000 |
2022-02-17 14:30:00.000 | America/Los Angeles | Europe/Berlin | 2022-02-17 05:30:00.000 |
Hero Platform_ Example
An example of this function can be found in Hero Platform_'s library of examples.
Download the example titled "function_Shift_Time_Zone" to see an example of this function.