Search code examples
dateformattingexportbookmarks

Google Bookmark Export date format?


I been working on parsing out bookmarks from an export file generated by google bookmarks. This file contains the following date attributes:

ADD_DATE="1231721701079000"

ADD_DATE="1227217588219000"

These are not standard unix style timestamps. Can someone point me in the right direction here? I'll be parsing them using c# if you are feeling like really helping me out.


Solution

  • 1231721701079000 looks suspiciously like time since Jan 1st, 1970 in microseconds.

    perl -wle 'print scalar gmtime(1231721701079000/1_000_000)'
    Mon Jan 12 00:55:01 2009
    

    I'd make some bookmarks at known times and try it out to confirm.