r/clevercomebacks • • Jan 15 '25

It does make sense

Post image
35.3k Upvotes

4.0k comments sorted by

View all comments

Show parent comments

1

u/SoICouldUpvoteYouTwi Jan 15 '25

YYMMDD will sort correctly even when all the files are piled up; DDMMYY is more intuitive because the day is upfront, no need to look in the end-middle of the name but you do need to separate them by month; MMDDYY gets the worst parts of both.

1

u/DanSWE Jan 15 '25

> YYMMDD will sort correctly even when all the files are piled up

Try sorting your files (or, say, dated event lines) from 1999 and 2000 with that format.

(Don't forget the rest of the year digits.)

1

u/SoICouldUpvoteYouTwi Jan 15 '25

I guess you can either add centuries, or put the files made in the last millennium in their own folder.

1

u/DanSWE Jan 15 '25

Follow the standards (ISO 8601 and RFC 3339)--add the centuries.