WoW:API GetTime: Difference between revisions

14 bytes removed ,  15 August 2023
m
Move page script moved page API GetTime to WoW:API GetTime without leaving a redirect
(Reformat. More clear documentation.)
m (Move page script moved page API GetTime to WoW:API GetTime without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 19: Line 19:
: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 '''time since your own computer booted up'''.
: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 '''time since your own computer booted up'''.


:In Windows, this is gotten through the Windows kernel function [http://msdn.microsoft.com/library/en-us/sysinfo/base/gettickcount.asp GetTickCount()], divided by 1000.
:In Windows, this is acquired through the Windows kernel function [http://msdn.microsoft.com/en-us/library/ms724408.aspx GetTickCount()], divided by 1000.
Anonymous user