Skip to content

Update on Date Stamping Files

Several readers have written to recommend using a certain format when date stamping files.

In AW 7.04 I recommended date-stamping files using date formats such as “m-d-yyyy” or “d-mmm-yyyy”.  The latter is the one I use most frequently, because it prevents confusion as to whether the day or month is in the first place. 

Several readers (Tom Bushaw, Jayden MacRae, Dale A. Wilkins, David Cross) have written to recommend using a format with the year first, such as “yyyy-mm-dd” or “yy-mm-dd”, so that the files can be sorted chronologically in directory listings. 

While this is undoubtedly a good idea from the programmer’s point of view, unfortunately most regular people find these formats strange and unacceptable, so I would be careful about using them, unless you are the only person working with the files.

About this author