搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

When I look at cookies.sqlite, how do I read the numbers under last accessed, expiry, and creation time?

  • 1 个回答
  • 1 人有此问题
  • 7 次查看
  • 最后回复者为 cor-el

more options

Under the column "expiry" it reads: 1691890990 Under the column "lastAccessed" it reads: 1484536794500550 Under the column "creationTime" it reads: 1376530990050796

Under the column "expiry" it reads: 1691890990 Under the column "lastAccessed" it reads: 1484536794500550 Under the column "creationTime" it reads: 1376530990050796

被采纳的解决方案

The 16 character strings are date-time stamps in microseconds in Unix epoch format.

The shorter expiry values are likely a count in milliseconds (days: xxx/(24*60*60*1000)).

Possible JavaScript bookmarklet to convert the 16 character strings:

javascript:(function(){var D='',d=new Date(),n; do{n=parseInt(D);d.setTime(isNaN(n)?d.getTime():n/1000);D=prompt('EPOCH (microseconds)\nClick Cancel to Stop\n\n'+D+'\n'+d.toLocaleString()+'\n'+(d.getTime()*1000),d.toUTCString());}while(D!=null);})();
定位到答案原位置 👍 3

所有回复 (1)

more options

选择的解决方案

The 16 character strings are date-time stamps in microseconds in Unix epoch format.

The shorter expiry values are likely a count in milliseconds (days: xxx/(24*60*60*1000)).

Possible JavaScript bookmarklet to convert the 16 character strings:

javascript:(function(){var D='',d=new Date(),n; do{n=parseInt(D);d.setTime(isNaN(n)?d.getTime():n/1000);D=prompt('EPOCH (microseconds)\nClick Cancel to Stop\n\n'+D+'\n'+d.toLocaleString()+'\n'+(d.getTime()*1000),d.toUTCString());}while(D!=null);})();

由cor-el于修改