title: Convert datetime fields in Chrome history file (sqlite) to readable format
body: <p>Working on a script to collect users browser history with time stamps ( educational setting).
  Firefox 3 history is kept in a sqlite file, and stamps are in UNIX epoch time... getting them and converting to readable format via a SQL command in python is pretty straightforward:</p>
  
  <pre><code>sql_select = """ SELECT datetime(moz_historyvisits.visit_date/1000000,'unixepoch','localtime'), 
                          moz_places.url 
                   FROM moz_places, moz_historyvisits 
                   WHERE moz_places.id = moz_historyvisits.place_id
               """
  get_hist = list(cursor.execute (sql_select))
  </code></pre>
  
  <p>Chrome also stores history in a sqlite file.. but it's history time stamp is apparently  formatted as the number of microseconds since midnight UTC of 1 January 1601....</p>
  
  <p>How can this timestamp be converted to a readable format as in the Firefox example (like <strong>2010-01-23 11:22:09)</strong>? I am writing the script with python 2.5.x ( the version on OS X 10.5 ), and importing sqlite3 module....</p>