Futurebasic/Language/Reference/timer function

TIMER

edit

Function

edit

(+) Appearance (+) Standard (+) Console

Syntax

edit

secondsSinceMidnight& = TIMER

Description

edit

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

edit

TIME$