User Tools

Site Tools


clock_return_system_time_.htm
Navigation:  Language Reference > 13 - Built-in Functions >====== CLOCK (return system time) ====== Previous pageReturn to chapter overviewNext page

CLOCK( )

blk2blue.jpg

The CLOCK procedure returns the time of day from the operating system time in standard time (expressed as hundredths of a second since midnight, plus one). Although the time is expressed to the nearest hundredth of a second, the system clock is only updated 18.2 times a second (approximately every 5.5 hundredths of a second). The timestamps that you can obtain from Windows NT operating systems are limited to a maximum resolution of 10 or 15 milliseconds.

Return Data Type: LONG

Example:

Time = CLOCK()   !Save the system time

See Also:

Standard Time

SETCLOCK

clock_return_system_time_.htm.txt · Last modified: 2021/04/15 15:57 (external edit)