> >First of all, I want to know if Cookie's expiration time and HTTP's
header's
last modified time are using the same format.
http://wp.netscape.com/newsref/std/cookie_spec.html
http://www.w3.org/Protocols/rfc2616/rfc2616.html
http://www.w3.org/Protocols/rfc2616/...c3.html#sec3.3
So, not necessarily.
?? I think
850 is the only thing working in both
3.3 Date/Time Formats
3.3.1 Full Date
HTTP applications have historically allowed three different formats for the
representation of date/time stamps:
Sun, 06 Nov 1994 08:49:37 GMT ; RFC 822, updated by RFC 1123
Sunday, 06-Nov-94 08:49:37 GMT ; RFC 850, obsoleted by RFC 1036
Sun Nov 6 08:49:37 1994 ; ANSI C's asctime() format
The date string is formatted as:
Wdy, DD-Mon-YYYY HH:MM:SS GMT
This is based on RFC 822, RFC 850, RFC 1036, and RFC 1123, with the
variations that the only legal time zone is GMT and the separators between
the elements of the date must be dashes.
Dash and GMT are the keys. Only 850 uses dashes.
The unix date returns Sat Oct 2 00:58:14 EDT 2004
Which is ANSI, not RFC 850