WoW:API GetDate: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API GetDate to API GetDate without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 13: Line 13:


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


; Result
; Result

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