Time Intrinsic Functions - AsSeconds Method

Return the variable as the number since midnight

Member of Time Intrinsic Functions (PRIM_LIBI.ITimeIntrinsics)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)IntegerResulting number

Details

AsSeconds returns the number of seconds since 00:00:00 for the specified time as an integer.

Example

In this example, a time of 12:34:56 would return 45296.
#Result := #DateTime.AsSeconds

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2