Time Intrinsic Functions - AsSeconds Method
Return the variable as the number since midnight
Member of Time Intrinsic Functions (PRIM_LIBI.ITimeIntrinsics)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

Integer

Resulting 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