Power Automate (WDL) function
convertFromUtc — Power Automate (WDL) function reference
UTC to a target zone.
Syntax
wdl
convertFromUtc(timestamp, destinationTimeZone, ['format'])
Examples
wdl
convertFromUtc(utcNow(), 'GMT Standard Time')
→ Local time
wdl
convertFromUtc(triggerBody()?['CreatedDateTime'], 'AUS Eastern Standard Time', 'yyyy-MM-dd HH:mm')
→ A local-formatted timestamp for Sydney
wdl
formatDateTime(convertFromUtc(utcNow(), 'India Standard Time'), 'hh:mm tt')
→ e.g. "03:45 PM"
Common mistakes & gotchas
- destinationTimeZone must be a Windows time zone id (e.g. 'Pacific Standard Time'), not an IANA id like 'America/Los_Angeles' — an IANA id throws "not a supported timezone".
- Daylight saving is applied correctly for the given date, so the same flow evaluated at different times of year can yield a different UTC offset for the same named zone.
Related Workflow Definition Language functions
From Date & time