Example 1
ConvertFromUtc(Now(),"America/Chicago")
Will result in 09/25/2026 04:30:00 (UTC -5) when called on September 25 2026 at 09:30 (UTC)
Converts the provided DateTime from UTC using the provided Time Zone Identifier.
ConvertFromUtc(Date, Time Zone ID)
Where:
Date is the date to convert.
Time Zone ID is the time zone identifier to convert the DateTime to.
This is the IANA Zone ID of the time zone (see Noda Time | Time Zones).
ConvertFromUtc(Now(),"America/Chicago")
Will result in 09/25/2026 04:30:00 (UTC -5) when called on September 25 2026 at 09:30 (UTC)
To obtain the Time Zone ID from a selected row of time zones in a Data Table control.
ConvertFromUtc(Now(),TableGetValue(GetTimeZones(),1,TimeZoneTableReturn))
Will result in 09/25/2026 04:30:00 (UTC -5) when called on September 25 2026 at 09:30 (UTC)
Example data from the GetTimeZones() function, and presented in a Data Table control named TimeZoneTable.
The selected row from the TimeZoneTable control results in the value America/Chicago (column 1) being returned to the TableGetValue function.
| ID | Display Name | Offset |
| America/Cancun | Eastern Standard Time (Mexico) | -05:00 |
| America/Chicago | Central Standard Time | -05:00 |
|---|---|---|
| America/Indiana/Knox | Central Standard Time | -05:00 |
| America/Winnipeg | Central Standard Time | -05:00 |
| Canada/Central | Central Standard Time | -05:00 |
| US/Central | Central Standard Time | -05:00 |