title: Convert datetime to Unix timestamp and convert it back in python
body: <p>I have <code>dt = datetime(2013,9,1,11)</code>, and I would like to get a Unix timestamp of this datetime object.</p>
  
  <p>When I do <code>(dt - datetime(1970,1,1)).total_seconds()</code> I got the timestamp <code>1378033200</code>.</p>
  
  <p>When converting it back using <code>datetime.fromtimestamp</code> I got <code>datetime.datetime(2013, 9, 1, 6, 0)</code>.</p>
  
  <p>The hour doesn't match. What did I miss here?</p>