Track_Shovel to Lemmy Shitpost@lemmy.worldEnglish • 1 month agoPerspectiveslrpnk.netimagemessage-square28fedilinkarrow-up11.16Karrow-down16cross-posted to: nonpolitical_memes@lemmy.ml
arrow-up11.15Karrow-down1imagePerspectiveslrpnk.netTrack_Shovel to Lemmy Shitpost@lemmy.worldEnglish • 1 month agomessage-square28fedilinkcross-posted to: nonpolitical_memes@lemmy.ml
minus-squareCarllinkfedilink4•1 month agoI prefer writing it out as DD MM YYYY, but i like my computer to sort everything by YYYY MM DD.
minus-squareKaryoplasmalinkfedilink9•1 month agoYYYY-MM-DD is the ISO standard for that exact reason. It sorts chronologically without having to implement a custom comparator, regular string comparison is enough.
Also the civilized world.
Some countries use YYYY MM DD which is also sane.
YYYY-MM-DD is the only sane format.
%s is cool as well in my opinion.
I prefer writing it out as DD MM YYYY, but i like my computer to sort everything by YYYY MM DD.
YYYY-MM-DD is the ISO standard for that exact reason. It sorts chronologically without having to implement a custom comparator, regular string comparison is enough.