title: Convert time (HH:MM:SS) to minutes in python
body: <p>How to convert HH:MM:SS to Minutes?</p>
  
  <p>I tried below works fine:</p>
  
  <pre><code>  import datetime as DT
    t1 = DT.datetime.strptime('0:10:00', '%H:%M:%S')
  </code></pre>
  
  <p>I tried another example and getting error:</p>
  
  <pre><code>  import datetime as DT
    t1 = DT.datetime.strptime('9715:56:46', '%H:%M:%S')
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>  ValueError: time data '9715:56:46' does not match format '%H:%M:%S'
  </code></pre>
  
  <p>In this example it support Max 23 for %H, If my hours has more than 23(in this case i have 9715 hours) how to get it? </p>