Function Reference

TimerDiff

Returns a difference in time from a previous call to TimerInit().

TimerDiff ( timestamp )

 

Parameters

timestamp timestamp returned from a previous call to TimerInit().

 

Return Value

Returns a time difference (in milliseconds) from a previous call to TimerInit().

 

Remarks

None.

 

Related

TimerInit

 

Example


$begin = TimerInit()
sleep(3000)
$dif = TimerDiff($begin)
MsgBox(0,"Time Difference",$dif)