GetTime

number GetTime([bool fTIME_OF_DAY])

Retreives the current time. If fTIME_OF_DAY is specified, it returns the time of day in seconds. Otherwise, it returns the number of ticks elapsed since the game was started.

Example
GetTime(gtTIME_OF_DAY)
GetTime()

See Also: Wait