title: django python date time set to midnight
body: <p>I have a date time of my django object but it can be any time of the day. It can be at any time through the day, but I need to set my time to 00:00:00 (and another date to 23:59:59 but the principle will be the same)</p>
  
  <pre><code>end_date = lastItem.pub_date
  </code></pre>
  
  <p>currently the end date is 2002-01-11 12:34:56
  What do I need to do to get this to change it to 00:00:00?</p>
  
  <p>i tried: </p>
  
  <pre><code>end_date.hour = '00'
  </code></pre>
  
  <p>but got: 'datetime.datetime' object attribute 'time' is read-only</p>