title: How to convert the seconds in this format "HH:mm:ss"
body: <p>I want to convert the second/milliseconds in this format "HH:mm:ss" (for esamples, from 5 seconds to 00:00:05). I tried to get that format in this way:</p>
  
  <pre><code>int millis = 5000;
  SimpleDateFormat df = new SimpleDateFormat("HH:mm:ss");
  String time = df.format(millis);
  </code></pre>
  
  <p>In that way, I get "01:00:05" and not "00:00:05". Where am I wrong?</p>