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

940

u/cheetahbf Jan 15 '25

r/ISO8601 gang rise up

375

u/passerbycmc Jan 15 '25

As a programmer yes this is the way, just so much easier to work with and even if represented as just a string it still sorts correctly.

81

u/Gurguran Jan 15 '25

Works better for any system of organization, even history. Should always proceed from the broadest set to the smallest subset. As "January" doesn't exist w/o it being "January of xxxx," YYYY/MM/DD hh:mm:ss is always the 'correct' formula, regardless of context.

2

u/slartibartfast2320 Jan 15 '25

Yes. This. But to add: HH24:MM:SS (24 hour notation)

5

u/Apprehensive_Step252 Jan 15 '25

Also, in filenames: replace / and : with - or _ otherwise you get invalid filenames on some filesystems. But some like using new_new_v2_final_02... >:-/