GetTimeUntilNextDailyLoginMonthS

From ESOUI Wiki

Jump to: navigation, search

This function returns the number of seconds left until the next month of Daily Rewards begins.

Example

local secondsInAMonth = 31 * 24 * 60 * 60 -- rough estimate
local remaining = GetTimeUntilNextDailyLoginMonthS()
if remaining > 0 then
   local percent = math.floor((secondsInAMonth - remaining) / secondsInAMonth * 100)
   d(LocalizeString("<<1>>% of the month has passed.", percentage))
end

External links

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox