Get changes to system clock or time zone

Any app


Attribute Data type Description
datechange Number The number represents the POSIX time value (in seconds since the epoch) after the clock was changed. This is updated whenever the system clock is changed.
timezonechange String This is updated whenever the _CS_TIMEZONE system variable is updated.
Note: Note that the datechange attribute must be treated as an approximation. Although the attribute is the new POSIX time value (as returned by the time() function) after the clock has been changed, the value might have been read from the system after the clock was actually changed because of scheduling delays. Furthermore, a thread that subscribes to this status object might not receive notification of the change and get a chance to run until some time after datechange is modified. Notifications of changes can be relied upon, but only up to a point. The changed values should be considered only a hint.