How to make a global timer?

I want to make a timer, like

Update in 00:00:00

Now I tried some script and the script runs as 23,021 days

local revamptime = tick() + (60*60*24*3)
script.Parent.Text = revamptime
while wait(10) do
    local timeleft = revamptime - tick()
    if timeleft > 86400 then
        local days = math.floor(timeleft/86400)
        local mins = math.clamp(math.floor(timeleft - (days*86400)/3600)0,math.huge)
        script.Parent.Text = days.." Days "..mins.." minutes"
    end
end

How to fix this

Use os.time() it’s for global timers but however, you would convert it to readable time