title: Converting date into hours
body: <p>I want to find time difference between two date and then compare the difference time in hours. Something like this,</p>
  
  <p>StartTime =  2011-03-10 15:45:48
  EndTime =  2011-03-10 18:04:00</p>
  
  <p>And then find the difference as,
   timeDifference = abs(StartTime - EndTime)
  And then I need to compare the results as,
  If timeDifference > 6 hours 
   ...</p>
  
  <p>When I use this method, the results I got was is in time format, how should I change time format into hours in python?</p>
  
  <p>Thank you,</p>