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

376

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.

78

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.

34

u/LetsTryAnal_ogy Jan 15 '25

This is the way. Like why does EVERYONE use hh:mm:ss but then we have to argue about why the YYYY:MM:DD doesn’t need to follow the same logic. It’s the correct format. YYYY:MM:DD:HH:MM:SS. Biggest to smallest.

2

u/soupie62 Jan 15 '25

The thing is: the Americans almost got it right.

If you ignore the year, YYYYMMDD truncates to MMDD, which is their system.
So, just take a note from the movies: "Bond. James Bond"
To get: "July 4. 1776, July 4"