Is there a way to choose the result(s) I want from a function that returns multiple results . E.g.
local function FormatSeconds(secondsArg)
local weeks = math.floor(secondsArg / 604800)
local remainder = secondsArg % 604800
local days = math.floor(remainder / 86400)
local remainder = remainder % 86400
local hours = math.floor(remainder / 3600)
local remainder = remainder % 3600
local minutes = math.floor(remainder / 60)
local seconds = remainder % 60
return weeks, days, hours, minutes, seconds
end
FormatSeconds(123456)
What would I use to only grab just one e.g hours, or two minutes & seconds