title: Python: get datetime of last hour
body: <p>I want to get the date time object for last hour.
  Lets say the sys time is "2011-9-28 06:11:30"
  I want to get the output as "2011-9-28 05" #{06 - 1 hour}</p>
  
  <p>I used:</p>
  
  <pre><code>    lastHourDateTime = date.today() - timedelta(hours = 1)
      print lastHourDateTime.strftime('%Y-%m-%d %H:%M:%S')
  </code></pre>
  
  <p>However, my output is not showing the time part at all. where am I going wrong?</p>