You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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

  • No labels