Wowpedia
Advertisement
Wowpedia
230,048
pages
Game Flavors
Links
Patch
Added in 1.1.0 / 1.13.2

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 GetTimePreciseSec() or debugprofilestop().
  • It is possible for this function to return identical values across consecutive frames if a low resolution timing method is in use while running at a high framerate.

Patch history

See also