Convert DateTime to timezone transform action
Last updated
Was this helpful?
You are working with an API that returns a time in UTC, you would like to localize this value to your timezone or a specific timezone.
Convert a DateTime to a different timezone.
DateTime to convert
Use https://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavior for various options
Timezone to convert
Use https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for various options not listed
Some timezone values are timezone naive, such as EST. If you would like to use a timezone aware value then, as an example, you should use America/New_York or US/Eastern.
Inputs:
DateTime to convert: 2025-04-16T09:00:30.000Z
Timezone to return: US/Eastern
Result of Example:
Last updated
Was this helpful?
Was this helpful?
"2025-04-16T05:00:30-04:00"