SECONDS( ) Function

Returns the number of seconds that have elapsed since midnight.

SECONDS( )

Return Value

Numeric. SECONDS( ) returns a numeric value in decimal format with a resolution of 1 millisecond. For versions of Visual FoxPro running on Windows NT 4.0 or later, SECONDS( ) returns a resolution of 10 milliseconds.

Example

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

See Also

Reference

SYS(2) - Seconds Since Midnight

TIME( ) Function

Seconds Property

Other Resources

Functions