How can I convert last_visit_time into an actual visit date when I'm using sqlite on my Firefox places.sqlite file?
-
-
Answer:
By visual inspection of the values associated with the last few sites I visited, it seems that last_visit_time is the number of microseconds since midnight Jan 1 1970 UTC - Unix aficionados would instantly recognize this as epoch time (in microseconds). You'd first want to strip off the microseconds portion (i.e. the last 6 digits). Let's say that leaves you with a integer 1234567890. Then from SQLite itself, it's as easy as the SQL query: SELECT datetime(1234567890, 'unixepoch', 'localtime');
Adrian Ho at Quora Visit the source
Related Q & A:
- How can I convert UTF-16 file to UTF-8?Best solution by Stack Overflow
- How can I convert Matlab code to c#?Best solution by Stack Overflow
- In Visual Studio 2012 or 2013, how can I register a DLL file on Windows 7 64-bit computer using a Custom Action command?Best solution by Stack Overflow
- How can I put my avatar back on answers since I'm not using 360 anymore?Best solution by Yahoo! Answers
- How can I set up my computer to alert me when I get an incoming email?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.