WoW:API GetDate: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
  <center>'''GetDate''' ''-Documentation by [[user:Zlixar|Zlixar]]-''</center>
  <center>'''GetDate''' ''-Documentation by [[user:Zlixar|Zlixar]]-''</center>


When called, returns "Dec 20 2004". Possibly a broken date script, or returns a date that has unknown significance. (Compile date?)
When called, returns the build date of the current version of WoW (as listed on the bottom left of the login screen).


  date = GetDate();
  date = GetDate();
Line 12: Line 12:
;''Returns''
;''Returns''


:;date : String - As of 1.2.1, always returns "Dec 20 2004". May be broken or reporting a date of currently unknown significance.
:;date : String - For example for version 1.2.1, it returned "Dec 20 2004". This date will be the date WoW was released or built (some internal Blizzard date close to release).


----
----
Line 21: Line 21:
  "Dec 20 2004"
  "Dec 20 2004"


----
;''Details''
:No hints as of yet as to what this function actually does. Has been suggested that it is broken, though it may be reporting a date of unknown significance. Perhaps the date of the release of the current version or the compile of the current version.
----
----
{{Template:WoW API}}
{{Template:WoW API}}

Revision as of 02:23, 16 February 2005

GetDate -Documentation by Zlixar-

When called, returns the build date of the current version of WoW (as listed on the bottom left of the login screen).

date = GetDate();

Arguments
none

Returns
date
String - For example for version 1.2.1, it returned "Dec 20 2004". This date will be the date WoW was released or built (some internal Blizzard date close to release).

Example
local date = GetDate();
Result
"Dec 20 2004"

Template:WoW API