Return Type:
string
Returns a string containing the current date and time.
For example, if the current date is 2012/09/16 12:34:56, then
"20120916123456" will be returned.
To convert this to a number, you may use the atoi function like so:
Return Type:
real
Returns the current system time in microseconds.
Note: This is an arbitrary timestamp based on some moment in the past, so only the delta between two calls of this function make sense.
Return Type:
real
Returns the current system time in milliseconds.
Note: This is an arbitrary timestamp based on some moment in the past, so only the delta between two calls of this function make sense.
Return Type:
real
Returns the current system time in seconds.
Note: This is an arbitrary timestamp based on some moment in the past, so only the delta between two calls of this function make sense.
Return Type:
real
Returns the amount of time that has elapsed since the start of the main script in milliseconds.
Return Type:
real
Returns the amount of frames that have elapsed since the start of the main script.
Return Type:
real
Returns the amount of time that has elapsed since the start of the main package in milliseconds.
Return Type:
real
Returns the current FPS.
Return Type:
real
Returns the current frame time in seconds.
Arguments:
1) real: interval
Sets the update interval for FPS in milliseconds.
This sets how frequently the FPS is calculated, which allows
GetCurrentFps to update faster.
Defaults to 1000 ms.
Return Type:
real
Returns the FPS of the replay at the current time.
Note that this value refreshes at a much slower rate than GetCurrentFps.