3 ms·
For 99% of use cases on the web, you'll probably manage to get away with the W3 subset: http://www.w3.org/TR/NOTE-datetime http://www.w3.org/TR/NOTE-datetime
by tow21 14y ago
For 99% of use cases on the web, you'll probably manage to get away with the W3 subset:
http://www.w3.org/TR/NOTE-datetime http://www.w3.org/TR/NOTE-datetime
which avoids most of the awkward corners, and for which a parser is a bit easier to write.
- jlarocco 14y agoPossibly true, except that parsing dates and times should almost always be done with strptime() or a similar library function.