ElapsedMilliseconds()
Syntax
Result = ElapsedMilliseconds()Description
Returns the number of milliseconds that have ellapsed since a specific time in the past. The absolute value returned is of no use since it varies depending on the operating system. Instead, this function should be used to calculate time differences between multiple ElapsedMilliseconds() calls.
This function is relatively accurate: it may have a slight variation, depending on which operating system it is excecuted on, this is due to the fact that some systems have a lower timer resolution than others.StartTime = ElapsedMilliseconds() ; Get the actual value Delay(1000) ; Wait 1000 milliseconds ElapsedTime = ElapsedMilliseconds()-StartTime ; 'ElapsedTime' value should be about 1000 milliseconds
Supported OS
All