ESODecoded

GetGameTimeMilliseconds

ESO Lua API function — used by 388 of the 3,030 addons we indexed (combined 97,250,008 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetGameTimeMilliseconds()

Returns: integer gameTimeInMilliseconds

Real usage — from Dolgubon's Lazy Writ Crafter

	local writRewardIds = WritCreater.rewardBoxes
	if lootInfo[1] == "" and ((GetGameTimeMilliseconds() - cooldown) < 1000 )then
		-- zo_callLater(EndLooting, 100)

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
HarvestMap9,454,533
Action Duration Reminder6,522,011
Srendarr - Aura, Buff & Debuff Tracker5,058,870
LibCombat5,017,654
AwesomeGuildStore4,722,462