title: datetime.date.fromtimestamp: ignores hour and minute
body: <p>The following code returns <code>'2012-06-07 00:00'</code> for both the timestamp <code>1339119900000</code> and <code>1339120800000</code>:</p>
  
  <pre><code>&gt;&gt;&gt; from datetime import date
  &gt;&gt;&gt; date.fromtimestamp(1339119900000/1e3).strftime('%Y-%m-%d %H:%M')
  '2012-06-07 00:00'
  &gt;&gt;&gt; date.fromtimestamp(1339120800000/1e3).strftime('%Y-%m-%d %H:%M')
  '2012-06-07 00:00'
  </code></pre>
  
  <p>However, these timestamps are 15 minutes apart, and neither of them are exactly midnight.</p>
  
  <p>I'm running 32bit Python 2.7.3 on a Windows 7 machine, but noticed the same on a Red Hat machine. Why is this and how can I get hour and minute resolution from a timestamp?</p>