CLOCK (return system time)

Top  Previous  Next



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:



Time = CLOCK()   !Save the system time


See Also:

Standard Time