Get Date In Time Zone
Overview
Provided a Date/Time and a time zone, this action returns the date in the provided time zone. For example, a Date/Time of January 1st, 2022 at 1 AM in New York is still December 31st, 2021 in Los Angeles. Therefore, providing a Date/Time value of January 1st, 2022 at 1 AM in New York and a time zone value of America/Los_Angeles to this action returns the date of December 31st, 2021.
Date stamping records in the timezone of a headquarter office is one use case for this action. For example, end-of-month orders may close after midnight in the EST time zone but should be marked with a "Closed Date" on the date in the timezone of the headquarters location.
Inputs
Date/Time
The Date/Time value used to determine the date in the provided time zone.
Type |
---|
Date/Time |
Time Zone
The time zone to determine the adjusted date of the provided Date/Time value.
This value is one of the Supported Time Zone values with no spaces. ie: America/Los_Angeles
, America/New_York
, Europe/Paris
Type |
---|
Text |
Outputs
Date
The date in the provided time zone given the Date/Time value.
Type | Variable Name |
---|---|
Date | value |