LastTick - property of the PmaTimer object
Time of last triggering of the onTick
Property access for read only
If the timer did not trigger the onTick
event since application launch not even once, then the property returns the time value 0
. The last triggering time and timer period also specifies the next execution.
Calculation of next execution based on the last triggering time and timer repeat period (presuming the timer is enabled and has been launched at least once).
var oTimer = pMe.Pm("/TestTimer");
var tNextTick = oTimer.LastTick + oTimer.Period / 86400;