Condividi tramite


SECONDS( ) Function

Returns the number of seconds that have elapsed since midnight.

SECONDS( )

Return Values

Numeric

Remarks

SECONDS( ) returns a numeric value in decimal format, with a resolution of 1 millisecond. If you are running Windows NT 4.0 or later, resolution is 10 milliseconds.

Example

CLEAR
? SECONDS( )
? SECONDS( )/(60 * 60)

See Also

SYS(2) - Seconds Since Midnight | TIME( ) | Seconds Property