I am writing a script that is retrieving information from file places.sqlite (history) and realized that it stores the time in the PRTime format. Is there a method available in Python which could convert this date time or do I have to make it myself?
I am writing a script that is retrieving information from file places.sqlite (history) and
Share
PRTime is the number of microseconds since 1970-01-01 (see https://developer.mozilla.org/en/PRTime), so just do this to get UTC time:
For example,
Output: