Datetime Intrinsic Functions - AsUniversalDateTime Method

Return the variable as a universal datetime

Member of Datetime Intrinsic Functions (PRIM_LIBI.IDateTimeIntrinsics)


NameTypeData TypeDescription
Result*Result (Optional)DateTimeResulting datetime


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).


In this example, a local date time of 2014-12-31 12:34:56 would return 2014-12-31 17:34:56 for US Eastern Standard Time (-5 Hours UTC)
#Result := #LocalTime.AsUniversalDateTime

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2