So I'm creating this and I need help, what would I do? I want it to ask the user for the miliseconds then convert it. So it would be varhere = prompt("Enter miliseconds: ") what would be the code?
It is simple math. You know how many milliseconds are in each second. You know how many seconds there are in each minute. You know how many minutes there are in each hour. You know how many hours there are in each day. Just do the math.
to get seconds, you need to divide it to 1000 to get minutes, divide it to 1000 then 60 to get hours, divide it to 1000 then 60 then 60 again to get days, divide it to 1000 then 60 then 60 again then 24