WoW:API GetTime
When called, GetTime returns current time in seconds:
seconds = GetTime();
- Arguments
- none
Contrary to what some believe, this does not return your current session time, time since launching the game, or time since the last patch. It returns the uptime as reported by the Windows kernel function GetTickCount(), divided by 1000.