
Wow! you are thorough! :-) Thanks! Seems that w3 has a similar convention as the ISO standard Chris referred to. Well, what was that famous quote again: "The nice thing about standards is that there are so many to choose from" ;-) Do you, or Chris, or others, have any opinion which version we should use? I personally think that the ISO and W3 one are not looking particularily beautiful, with T (!) as a delimiter, but they are surely simple enough to parse... On the other we try to stay close to POSIX in many places, so sticking with ctime, or even seconds since epoch, would also be well justified... Cheers, Andre. Quoting [Mark.McKeown@manchester.ac.uk] (May 17 2006):
The W3C has a profile of ISO 8601 which simplifies life:
http://www.w3.org/TR/NOTE-datetime
Also IETF have a RFC "Date and Time on the Internet: Timestamps":
http://www.faqs.org/rfcs/rfc3339.html
Other Relevent standards that specify dates are:
RFC 822 and RFC 1123
The HTTP protocol accepts dates in a number of formats, from section 3.3.1:
"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"
Hope this helps Mark
Quoting [Christopher Smith] (May 05 2006):
Does anybody have a pointer to the relevant ISO standard?
Is there an ISO standard for that?
I found this link:
http://www.iso.org/iso/en/prods-services/popstds/datesandtime.html
but I haven't read it in any detail.
-- Chris
-- "So much time, so little to do..." -- Garfield