Convert DateTime to timezone transform action

Use case

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.

Overview

Convert a DateTime to a different timezone.

Parameters

Parameter
Description
Required

DateTime to convert

Use https://strftime.org/ 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.

Usage

Example: Convert a UTC timestamp to EST/EDT

Inputs:

DateTime to convert: 2025-04-16T09:00:30.000Z

Timezone to return: US/Eastern

Results output

Result of Example:

"2025-04-16T05:00:30-04:00"

Last updated

Was this helpful?