Datetime Intrinsic Functions - AsSeconds Method

Return the variable as the number since midnight

Member of Datetime Intrinsic Functions (PRIM_LIBI.IDateTimeIntrinsics)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)DecimalResulting number

Details

AsSeconds returns the number of seconds since 00:00:00 for the specified time in the datetime as a decimal value including milliseconds.

Example

In this example, a date time of 2014-12-31 12:34:56.8503 would return 45296.8503.
#Result := #DateTime.AsSeconds

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2