ClockChange (Clock Change)

The ClockChange function returns the number of milliseconds that the datalogger's clock has changed since the last time the function was executed. ClockChange can be used to monitor drift in the datalogger clock, or changes to the datalogger clock that occur due to clock sets by an external device, such as a GPS or a personal computer running software that connects to the datalogger, such as LoggerNet.

Syntax

Variable = ClockChange

Remarks

If the datalogger's clock has not changed since the function's last execution, this function will return 0.