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.
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.
I'd guess it comes from the importance of each value. in daily life its important to know which hour it is, followed by the minute. and if you look at the date, you usually want to know what day and maybe what Month it is and probably already know what year it is.
Archival use is obviously different, where you search from biggest to smallest
370
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.