GetTime

From Wowpedia
Jump to: navigation, search

Returns the system uptime of your computer in seconds, with millisecond precision.

seconds = GetTime()

Returns

seconds 
number - The current system uptime in seconds, e.g. 60123.558

Details

  • This value is only updated once per rendered frame. Finer-grained timers are available using debugprofilestop()
  • On Windows, this function returns the value retrieved using the Windows kernel function GetTickCount(), divided by 1000.

Patch history

See also

External links