title: datetime and timedelta
body: <p>My timezone is UTC+5.</p>
  
  <p>So when i do datetime.datetime.now() it gives:</p>
  
  <pre><code>2012-07-14 06:11:47.318000
  #note its 6AM
  </code></pre>
  
  <p>I wanted to subtract <code>5</code> hours from it so that it becomes equal to <code>datetime.datetime.utcnow()</code> so i did:</p>
  
  <pre><code>import time
  from datetime import datetime, timedelta
  dt = datetime.now() - timedelta(hours=time.timezone/60/60)
  print dt
  #gives 2012-07-14 11:11:47.319000
  
  """
  Here 11 is not the PM its AM i double check it by doing
  print dt.strftime('%H:%M:%S %p')
  #gives 11:11:47 AM
  """
  </code></pre>
  
  <p>You see instead of subtracting 5 hours it adds 5 hours into datetime??
  Am I doing something wrong here?</p>