WoW:API GetTime
Jump to navigation
Jump to search
When called, returns the current system uptime in seconds.
seconds = GetTime();
- Arguments
- None
- Returns
- seconds
- Floating Point Number - The current system uptime in seconds.
- Example
seconds = GetTime(); print("Current system uptime is: "..seconds.." seconds!");
- Result
Current system uptime is: 60123 seconds!
- Details
- This is relatively unconfirmed, though experimentation on my part has failed to find any fault in this correlation. It may, however, be possible that this tracks something such as current session uptime (as opposed to total system uptime). Any confirmation or corrections appreciated ^.^