Datetime Intrinsic Functions - AsLocalizedDateTime Method
Return the variable adjust for locale
Member of Datetime Intrinsic Functions (PRIM_LIBI.IDateTimeIntrinsics)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

DateTime

Resulting datetime

Details


AsLocalizedDateTime returns the supplied datetime adjusted to 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).

Example


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

See also

All Component Classes
Technical Reference