WoW:API GetDate: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(rv)
m (Move page script moved page API GetDate to API GetDate without leaving a redirect)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{removedapi|1.3.0|}}
{{wowapi|removed=1.3.0}}


<center>'''GetDate''' ''-Documentation by [[user:Zlixar|Zlixar]]-''</center>
Gets the build date of the current version of WoW, as listed on the bottom left of the login screen.


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


date = GetDate();
== Parameters ==
----
=== Arguments ===
;''Arguments''
: none


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


----
== Example ==
;''Returns''
<pre>
local date = GetDate() -- version 1.2.1
</pre>


:;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).
; Result
 
----
;''Example''
 
local date = GetDate();
;''Result''
  "Dec 20 2004"
  "Dec 20 2004"


 
== Notes ==
----
* Removed in patch 1.3.0
{{Template:WoW API}}

Latest revision as of 04:45, 15 August 2023

WoW API < GetDate

Gets the build date of the current version of WoW, as listed on the bottom left of the login screen.

local date = GetDate()

Parameters[edit]

Arguments[edit]

none

Returns[edit]

  • date (string) - This date will be the date WoW was released or built, some internal Blizzard date close to release.

Example[edit]

 local date = GetDate() -- version 1.2.1
Result
"Dec 20 2004"

Notes[edit]

  • Removed in patch 1.3.0