Sunday, July 11, 2010

ISO 8601 is a good date notation form

Today i stumbled upon the ISO 8601 date notation format. I have for a while been using the form YYYYMMDD, though the ISO 8601 says YYYY-MM-DD.

This is unifies the notation used in USA (MM/DD/YYYY) and in the rest of the world (DD/MM/YYYY).

Another nice feature is that if the ISO 8601 date notation is used in filenames they are easy to sort chronologic order.