WoW:API GetDate: Difference between revisions

151 bytes removed ,  15 August 2023
m
Move page script moved page API GetDate to WoW:API GetDate without leaving a redirect
mNo edit summary
m (Move page script moved page API GetDate to WoW:API GetDate without leaving a redirect)
 
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<center>'''GetDate''' ''-Documentation by [[user:Zlixar|Zlixar]]-''</center>
{{wowapi|removed=1.3.0}}


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


  date = GetDate();
  local date = GetDate()
----
;''Arguments''


:''none''
== Parameters ==
=== Arguments ===
: none


----
=== Returns ===
;''Returns''
* date (string) - This date will be the date WoW was released or built, some internal Blizzard date close to release.


:;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 ==
<pre>
local date = GetDate() -- version 1.2.1
</pre>


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


----
== Notes ==
(Seems to have been removed)
* Removed in patch 1.3.0
----
{{Template:WoW API}}
[[Category:API Functions|GetDate]]
Anonymous user