title: How would I compute exactly 30 days into the past with Python (down to the minute)?
body: <p>In Python, I'm attempting to retrieve the date/time that is exactly 30 days (30*24hrs) into the past. At present, I'm simply doing:</p>
  
  <pre><code>&gt;&gt;&gt; import datetime
  &gt;&gt;&gt; start_date = datetime.date.today() + datetime.timedelta(-30)
  </code></pre>
  
  <p>Which returns a datetime object, but with no time data:</p>
  
  <pre><code>&gt;&gt;&gt; start_date.year
  2009
  &gt;&gt;&gt; start_date.hour
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  AttributeError: 'datetime.date' object has no attribute 'hour'
  </code></pre>