10 9 3 AsLocalizedDateTime

LANSA Technical

10.9.3 AsLocalizedDateTime

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

Input Parameters

None

Example

In this example, a date time of 2004-12-31 12:34:56 would return 2004-12-31 07:34:56 for US Eastern Standard Time (-5 Hours UTC):

#LocalTime := #DateTime.AsLocalizedDateTime

 

For more information about UTC, see DateTime field types.

Ý 10.9 DateTime Intrinsic Functions