Time Intrinsic Functions - AsSeconds Method

Return the variable as the number since midnight

Member of Time Intrinsic Functions (PRIM_LIBI.ITimeIntrinsics)


Name Type Data Type Description
Result *Result (Optional) Integer Resulting number


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


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

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020