So im making a countdown to a day and i want to convert my seconds to days, hours, minutes and seconds.
My code
local TARGET_TIME = 1591525920
while wait(1) do
if os.time() >= TARGET_TIME then
start()
break
end
local seconds = TARGET_TIME - os.time()
-- here is where i want to convert the seconds variable into days, hours, mins and secs
end

1 comment
ummm your going to respond to my answer?