views:

446

answers:

3

ISO 8601 and RFC 3339 seem to be two formats that are common the web. Should I use one over the other? Is one just an extension? Do I really need to care that bad?

+2  A: 

You shouldn't have to care that much. RFC 3339, according to itself, is a set of standards derived from ISO 8601. There's quite a few minute differences though, and they're all outlined in RFC 3339. I could go through them all here, but you'd probably do better just reading the document for yourself in the event you're worried:

http://www.ietf.org/rfc/rfc3339.txt

David Morton
+1  A: 

RFC 3339 defines a profile of ISO 8601 for the use in Internet protocols and standards.

Andy Hume
+2  A: 

Is one just an extension?

Pretty much, yes - RFC 3339 is listed as a profile of ISO 8601. It has some small, subtle differences though, notably that RFC 3339 allows the replacement of the "T" with a space, which ISO 8601 does not.

I wouldn't worry too much about the differences between the two, but on the off-chance your use case runs in to them, it'd be worth your while taking a glance at:

ConroyP