问题描述
我一直在从Google书签生成的导出文件中解析出书签。该文件包含以下日期属性:
ADD_DATE =1231721701079000
ADD_DATE =1227217588219000 p>
这些不是标准的unix样式时间戳。有人可以在这里指向正确的方向吗?我会用c#来解析他们,如果你真的很想帮助我。
1231721701079000看起来可疑,
perl -wle'print scalar gmtime(1231721701079000 / 1_000_000)'
Mon Jan 12 00:55:01 2009
我会在已知时间制作一些书签,并尝试确认。
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.
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.
这篇关于Google书签导出日期格式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!