title: How to convert time in milliseconds to hours, min, sec format in JavaScript?
body: <p>I have a time as a number of milliseconds and I want to convert it to a <code>HH:MM:SS</code> format. It should wrap around, with <code>milliseconds = 86400000</code> I want to get <code>00:00:00</code>.</p>