GetTickCount
Returns the current value of an internal timer.
The unit argument controls the time unit returned.
Method Signature
GetTickCount(unit=[string])Arguments
Argument
Type
Required
Description
Default
unit
string
false
The time unit to return. Valid values are: nano, milli (default), second.
milli
Examples
Script Syntax
Outputs the current value of the internal millisecond timer
writeOutput( getTickCount() );
A simple timer
Outputs the millisecond difference between a starting point and end point
Result: 1000 (note: may be off by a few ms depending on the environment)
Additional Examples
Related
Last updated
Was this helpful?
