title: How to convert microsecond timestamp to datetime?
body: <p>I'm pulling a cookie expiration date from Google Chrome. From what it looks like, Chrome is storing cookie expirations with a timestamp that uses 1601-01-01 00:00:00 UTC as the epoch. My current implementation is as follows:</p>
  
  <pre><code>stamp = int(result[3])
  date = datetime.datetime.fromtimestamp(stamp / 10000000.0)
  print date.year
  </code></pre>
  
  <p>However, this is producing the wrong date (off by about a year). What am I doing wrong here?</p>