GetTime (Kernel)

GetTime()
GetTime(fTimeOfDay)

Retrieves 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.

Returns:The time of day in seconds or ticks.