GetTimeUntilNextDailyLoginRewardClaimS

From ESOUI Wiki

Jump to: navigation, search

This function returns the number of seconds left in the current day. The function is used to track Daily Rewards.

Example

local secondsInADay = 24 * 60 * 60
local remaining = GetTimeUntilNextDailyLoginRewardClaimS()
if remaining > 0 then
   local percent = math.floor(remaining / secondsInAMonth * 100)
   d(LocalizeString("You have <<1>>% of the day left to claim your Daily Reward.", percentage))
end

External links

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox