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