<$BlogRSDURL$>

Tuesday, March 24, 2009

Not the Preferred Nomenclature

I can't believe I have to tell you people this, but apparently I do. When you are using a document versioning system based on creation date, it is imperative that you use the following format for the date portion: yyyy-mm-dd.

If you don't put the year first it won't be sorted properly if it lasts more than one year. And if you don't zero-pad the dates less than 10, it'll put October before February.

TPS-Report_10-01-2025.xls
TPS-Report_10-02-2009.xls
TPS-Report_2-01-2009.xls
TPS-Report_4-01-1999.xls

This page is powered by Blogger. Isn't yours?