Power Automate (WDL) function
convertTimeZone — Power 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
- Unlike convertFromUtc(), you must correctly declare the source timestamp's zone — if the timestamp string already carries a UTC offset, convertTimeZone() still trusts sourceTimeZone over it, which can silently double-convert if they disagree.
- Same Windows time zone id requirement as convertFromUtc() — no IANA names.
Related Workflow Definition Language functions
From Date & time