Datetime Intrinsic Functions - Date Method

Return the date portion of the datetime

Member of Datetime Intrinsic Functions (PRIM_LIBI.IDateTimeIntrinsics)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)DateResulting date

Details

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

Example

In this example, a datetime of 2014-31-12 12:34:56 would return a date of 2014-31-12.
#Result := #DateTime.Date

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2