10.9.7 AsUniversalDateTime
AsUniversalDateTime returns the supplied datetime adjusted to UTC (Universal Coordinated Time) based on the time zone specified on the executing system.
The time zone is the difference in time between the executing system and UTC (Universal Coordinated Time.
Input Parameters
None
Example
#DateTime := #LocalTime.AsUniversalDateTime
In this example, a local date time of 2004-12-31 12:34:56 would return 2004-12-31 17:34:56 for US Eastern Standard Time (-5 Hours UTC)
For more information about UTC, see DateTime field types.
Ý 10.9 DateTime Intrinsic Functions