Link to home
Start Free TrialLog in
Avatar of proximalsolutions
proximalsolutions

asked on

Convert "Created" date in yahoo cookie to readable format?

There is a cookie I found on my computer that has a "Created" field with a value of 256275795.48451099  From what I understand this is the date and time that the cookie was first created.  Can someone please tell me how I can convert this to a date and time format that I can read?  Thanks
<key>Created</key> 
  <real>256275795.48451099</real> 
  <key>Domain</key> 
  <string>.mail.yahoo.com</string> 
  <key>Expires</key> 
  <date>2009-05-15T03:43:15Z</date> 
  <key>Name</key> 
  <string>YM.CGP_keliherbill</string> 
  <key>Path</key> 
  <string>/dc/</string> 
  <key>Value</key> 
  <string>spp=1&res=1284x644</string> 

Open in new window

Avatar of war1
war1
Flag of United States of America image

Hello proximalsolutions,

You can view a cookie date by IECookiesView utility
http://www.nirsoft.net/utils/internet_explorer_cookies_view.html

Hope this helps!
war1
I believe the number is the number of milliseconds since 1/1/1970 @ 12:00 AM
Avatar of proximalsolutions
proximalsolutions

ASKER

So how can I determine what time and date this is?
Try the converter on this page:  http://www.esqsoft.com/javascript_examples/date-to-epoch.htm

It suggests  256275795.48451099 is  Mon Feb 13 1978 22:43:15 GMT-0500 (Eastern Standard Time), which doesn't make much sense. However, the date will be picked up from your computer's internal clock and if it was wrong (because of a dead clock batter for instance) that could account for the wrong date.

When i put the string from my Yahoo cookie in, it returns today's date.
Thanks strung, I found that converter also and the date makes no sense.  The cookie was orginally created on a new Mac.  Not sure if that makes any difference.  I appreciate your input.
ASKER CERTIFIED SOLUTION
Avatar of strung
strung
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thaks strung, I'll try that on my mac laptop when I get home.
proximaisoluti, did you see the suggested that I posted in first post? 02.24.2009 at 08:29AM PST
War1, the software you suggested is for IE on Windows.  The cookie in question seems to have been created on Safari on a Mac. I don't believe the software you suggested will run on a Mac.