My way:
local function ConvertSecondsToTime(seconds)
local minutes = math.floor((seconds % 3600) / 60)
local remainingSeconds = seconds % 60
return string.format("%02d:%02d", minutes, remainingSeconds)
end
My way:
local function ConvertSecondsToTime(seconds)
local minutes = math.floor((seconds % 3600) / 60)
local remainingSeconds = seconds % 60
return string.format("%02d:%02d", minutes, remainingSeconds)
end
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.