onTimeChange - event of object PmRoot
The event fires on the change of the computer system time. Fires only when the change is greater than 5 seconds.
|pMe||(Object) Reference to the Promotic object where the event rises.|
|pEvent||(Object) A referrence to object describing detailed information about the specific event.| pEvent.DiffSec
Difference of the change in seconds. When the time changes forward, the value is positive, when backward, it is negative.
Time after which the change occurred.
The time change is detected by the PROMOTIC system in the following way. The internal clock of the PROMOTIC system ticks with the specific period (about 100 ms). Every tick the system finds out the daytime and stores it. It compares it with the time of the previous tick and if the difference is greater than 5 seconds, the PROMOTIC system concludes from this that the time changed. In very extreme cases when somebody stopped the PROMOTIC application for 5 seconds, the PROMOTIC could invoke this event even if no time change occurred.