I would like to chip in an argument in favour of ISO 8601 - the International Standard Date and Time Notation.
Some people might have noticed that I'm trying to consistently promote YYYY-MM-DD as a date format; and the reasons for this are plenty:
[Exceptions apply if used for years earlier than 1752 (the year of the British Calendar Correction where they caught up 11 days with the date corrections France and Spain did in 1582... Messy, so don't go there ;-) ]
There are several great resources about the standard online, so I will point you in their direction instead of repeating it all here:
SQL got me used to ISO-8601. Well, for the most part. Also, AIX timestamps are YYYYMMDDHHMMSS, so I got pretty used to thinking biggest->smallest. Also, keeping the weblog that way is nice.
Posted by: Eli Sarver on June 3, 2003 10:49 PMI agree wholeheartedly. I stumbled on the format a couple years ago, without knowing its particular ISO specification, and immediately adopted it. Now my files sort correctly, and I can trust others to be able to correctly decode my dates.
Posted by: Brad Gadberry on June 4, 2003 06:00 PMIndeed, this is the only format that makes sense.
And the following is *almost* relevant but interesting nonetheless:
http://www.naturalordersort.org/
http://sourcefrog.net/projects/natsort/
©
Anders Jacobsen [extrospection.com photography] |