ESODecoded

GetDateStringFromTimestamp

ESO Lua API function — used by 89 of the 3,030 addons we indexed (combined 12,966,594 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetDateStringFromTimestamp(integer timestamp)

Returns: string dateString

Real usage — from Combat Metrics


	local datestring = type(date) == "number" and GetDateStringFromTimestamp(date) or date
	local timestring = string.format("%s%s, %s", accountstring, datestring, data.time)

Short excerpt from the shipping addon Combat Metricsits 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
Combat Metrics7,085,289
Arkadius' Trade Tools845,488
Wykkyd Outfitter632,442
Wykkyd Toolbar567,448
Shissu's LUA Memory336,742
Votan's Achievements Overview330,065