title: JavaScript seconds to time string with format hh:mm:ss
body: <p>I want to convert a duration of time, i.e., number of seconds to colon-separated time string (hh:mm:ss)</p>
  
  <p>I found some useful answers here but they all talk about converting to x hours and x minutes format.</p>
  
  <p>So is there a tiny snippet that does this in jQuery or just raw JavaScript?</p>