3 ms·
YYYY-mm-dd also plays nice with lexicographic ordering, which is why I always use it when I need to put dates in e.g. filenames
by frabert 6y ago
YYYY-mm-dd also plays nice with lexicographic ordering, which is why I always use it when I need to put dates in e.g. filenames
- Macha 6y agoI'm a European working primarily with Americans. My home country uses dd/mm/YYYY (or dd/mm for short) and the US uses mm/dd/YYYY for with mm/dd for short. I've switched to YYYY-mm-dd simply for my own sanity and if I omit the year I write the month in text format, such as "5 June".
- withinboredom 6y agoThe US military uses the almost same convention (dd-mmm-yyyy) so 07-aug-2020.
- dgellow 6y agoThat’s dd-mmm-yyyy
- withinboredom 6y agoThanks!