title: Python how to convert TimeSpan string to DateTime Day
body: <pre><code>42.00:00:00
  </code></pre>
  
  <p>This is a TimeSpan value from PowerShell.</p>
  
  <p>How should I go about converting the above string into Python DateTime? I actually only need the day value in a string. The following code does not work with this:</p>
  
  <p><code>strptime("42.00:00:00", "%d.%H:%M:%S")</code></p>
  
  <p>I'm assuming it's because of the day being out of day of the month range.</p>