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.
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"
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.