Wikia

WoWWiki

Talk:API GetTime

101,358pages on
this wiki

Back to page

The Section™ Edit

I doubt that GetTime() returns the elapsed time in seconds from the "epoch" given by GetDate(). It's March 6th , 11:49 server time. GetDate() returns "Feb 15 2005" and GetTime() returns 14750.392. Assuming that GetTime() returns a time in seconds (which is how it looks like, since 60 seconds later the GetTime() value has increased by 60), it would mean that the GetTime() counter started today at 7:43 server time. This looks like they could have restarted the server at 7:43 (dunno, because i wasn't online that time), but I doubt that - they usually only restart the servers on tuesday, but today is a sunday. Well, does anybody have an idea how to get a time value that can be stored and compared to in later sessions? Is there some way to retrieve the current date? -- Fov 14:06, 6 Mar 2005 (EST)

There are many other time functions in WoW now, this is only good for comparing relative times for purposes of timers and such due to it's precision. Or if, for whatever reason, you wanted to report System uptime :-P -- Zlixar 18:53, 29 April 2006 (EDT)

I like how... Edit

I like how my original documentation was *correct*, and yet, was changed several times without the editor so much as checking what they were asserting.

GetTime() returns current system uptime in seconds. GetTickCount()/1000 is a more accurate/technical way to describe it.

Stop touching this page or claiming that other's information is incorrect and removing it unless you have some very valid evidence. Seeing as A simple test can disprove the epoch theory and others, this was not done with the previous edits. Please show some restraint.

-- Zlixar 18:43, 29 April 2006 (EDT)

Around Wikia's network

Random Wiki