title: Convert milliseconds to time
body: <p>I am having a variable which is called total and I want to convert it into time.</p>
  
  <pre><code>Time from_time = rs.getTime("nfrm_time");
  long f = from_time.getTime(); 
  long t= to_time.getTime();
  long total= t - f;
  </code></pre>
  
  <p>So how can I do that?I want it in the format of HH:MM:SS</p>