Cheat Sheets/Power Automate/convertTimeZone
Power Automate (WDL) function

convertTimeZonePower Automate (WDL) function reference

Between two zones.

Syntax

wdl
convertTimeZone(timestamp, sourceTimeZone, destinationTimeZone, ['format'])

Examples

wdl
convertTimeZone(t, 'UTC', 'Eastern Standard Time')
Converted time
wdl
convertTimeZone(item()?['MeetingTime'], 'Eastern Standard Time', 'GMT Standard Time')
The meeting time converted from US Eastern to UK time
wdl
convertTimeZone(triggerBody()?['LocalSubmitTime'], 'Tokyo Standard Time', 'UTC', 'yyyy-MM-ddTHH:mm:ssZ')
A UTC-formatted timestamp

Common mistakes & gotchas

Related Workflow Definition Language functions

From Date & time

Used in these tutorials

← Back to the Power Automate (WDL) cheat sheet