firefox timestamp

abhilash pp afilash at
Mon Sep 8 08:17:50 CEST 2008

Hi all,
I don't know if this question will fit on this section,
any way my query is , i have used one script to extract details
from Firefox history.dat file
and now the problem is how to convert the TIMESTAMP given by that to normal
date and time.
example timestams are like this,


i have used datetime module for this but it gave me error

>>> import datetime
>>> datetime.datetime.fromtimestamp(1215693263859375)

Traceback (most recent call last):
  File "<pyshell#1>", line 1, in <module>
ValueError: timestamp out of range for platform time_t

please help me to convert this ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list