title: Convert fraction of a day into a time
body: <p>Given a fractional component of a day, such as <code>0.12345</code>, where the number <code>1</code> represents a full day, what would be the best way to convert that into a string-formatted time, such as:</p>
  
  <pre><code>01:02:03
  </code></pre>
  
  <p>My thinking the simplest approach might be to create two dates and subtract the difference using a <code>timedelta</code> settings the number of days to my decimal, but this seems a bit heavy-handed for this. </p>
  
  <p>This gets me close, but not quite...</p>
  
  <pre><code>str(datetime.timedelta(days=0.12345)).split('.')[0]
  '2:57:46'
  </code></pre>