WoW:API GetDate: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m ({{wowapi}})
mNo edit summary
Line 1: Line 1:
{{wowapi}}
{{wowapi|removed=1.3.0}}
{{removedapi|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 ==
local date = GetDate() -- version 1.2.1


----
; Result
;''Example''
"Dec 20 2004"


local date = GetDate();
== Notes ==
;''Result''
* Removed in patch 1.3.0
"Dec 20 2004"

Revision as of 21:41, 12 February 2021

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

Arguments

none

Returns

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

Example

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

Notes

  • Removed in patch 1.3.0