ESODecoded

GetDate

ESO Lua API function — used by 43 of the 3,030 addons we indexed (combined 24,289,243 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetDate()

Returns: integer currentTime

Real usage — from Dolgubon's Lazy Writ Crafter


	if GetDate()%10000 == 1031 then return 1 end
	if GetDate()%10000 == 401 then return 2 end

Short excerpt from the shipping addon Dolgubon's Lazy Writ Crafterits ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.

Most-downloaded addons using it

AddonTotal downloads
Dolgubon's Lazy Writ Crafter9,498,314
Combat Metrics7,085,289
CraftStore5,176,147
Clock - Tamriel Standard Time - Legacy360,533
CyrHUD325,521
RU Patch for Dolgubon's Lazy Writ Crafter322,383