Question Mozilla Cookies Date Format

sonia.sardana

Active member
Joined
Jan 25, 2009
Messages
35
Programming Experience
Beginner
hi frnds i want to ask that what is the format of cookies last modified..Coookies of Mozilla are saved in
C:\Documents and Settings\Administrator\Application Data\Mozilla\Firefox\Profiles\x5ncmceb.default\cookies.sqlite

If we read it last accessed date of cookie is in format 1244272348453125.
How to convert it to date..Can somebody tell me?
 
Last edited:
Hello.

Smells a lot like [ame="http://en.wikipedia.org/wiki/Unix_time"]UNIX-Time[/ame].

VB.NET:
Imports System.Convert

Dim useableDate As Date = New Date(1970, 1, 1).AddSeconds(ToDouble($yourTime))

Should do,
Bobby
 
Back
Top