Returns the number of seconds that have elapsed since midnight.
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
| | Copy Code |
|---|
CLEAR
? SECONDS( )
? SECONDS( )/(60 * 60) |
See Also