Utctolocal

Converts the Coordinated Universal Time (UTC) to the local time based on the time zone.

Supported Script Types

Properties

Property Details
OriginalDateTime

The original date and time that is to be converted. This may be a variable value.

TimeZoneID

The time zone ID based on UTC. These are entered as "UTC" plus or minus the number of hours. For example "UTC-07" is the same as Mountain Standard Time. UTC entries must be double-digit; "UTC-07" will function whereas "UTC-7" will not.

ConvertedTimeVar

The name of the variable that the converted time will be stored as. By default it is LOCALDATETIME.

Branches

Branch Details

Default

Path taken unless the script meets a condition that requires it to take one of the other branches. It is also taken if the other branches are not defined.
OnBadTimeZoneID Path taken if the Time Zone ID does not match the available time zones in the database.

Tips & Tricks

  • UTC is a time standard based on International Atomic Time.
  • UTC is considered more accurate than Greenwich Mean Time (GMT).