title: How to convert float into Hours Minutes Seconds?
body: <p>I've values in float and I am trying to convert them into Hours:Min:Seconds but I've failed. I've followed the following post:</p>
  
  <p><a href="https://stackoverflow.com/questions/27496889/converting-a-float-to-hhmm-format">Converting a float to hh:mm format</a></p>
  
  <p>For example I've got a value in float format:</p>
  
  <pre><code>time=0.6 
  
  result = '{0:02.0f}:{1:02.0f}'.format(*divmod(time * 60, 60))
  </code></pre>
  
  <p>and it gives me the output:</p>
  
  <pre><code>00:36 
  </code></pre>
  
  <p>But actually it should be like "00:00:36". How do I get this?</p>