How can I convert seconds to an HH-MM-SS string using JavaScript?
HH-MM-SS
--update 2
Please use @Frank's a one line solution:
new Date(SECONDS * 1000).toISOString().substr(11, 8)
It is by far the best solution.