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