< Futurebasic < Language < Reference
TIMER
Function
(+) Appearance (+) Standard (+) Console
Syntax
secondsSinceMidnight& = TIMER
Description
This function returns the current time of day expressed as a number of seconds since midnight. Its value ranges from 0 through 86399. Note: The TIMER function is useful for measuring elapsed time intervals, as long as you make appropriate adjustments in case the measured interval crosses the midnight boundary. To measure time intervals with a finer resolution than 1 second, use the Toolbox routines TICKCOUNT or MICROSECONDS. The TICKCOUNT function measures the number of "ticks" since startup (there are approximately 60.15 ticks per second), and the MICROSECONDS procedure measures the number of microseconds since startup.
See Also
TIME$
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.