The second reason why yyyy-MM-dd is the correct way to write days (beside being sortable by default) is because even Americans doesn't have any similar format that it can be confused with.
I learned this in my first half year as a programmer I think, somewhere well over a decade back and so far it seems that guy was right.
As monsterous as it is yyyy-mm-dd could also be misconstrued by said unfortunate Americans as yyyy-dd-mm because...well...yeah. As noted elsewhere this dd mmm yyyy format also works nicely in written and verbal communication as 12th of august where no one ever is going to write or speak to each other twenty twenty three august twelfth. So again, more universal and less ambiguous.
The second reason why yyyy-MM-dd is the correct way to write days (beside being sortable by default) is because even Americans doesn't have any similar format that it can be confused with.
I learned this in my first half year as a programmer I think, somewhere well over a decade back and so far it seems that guy was right.
As monsterous as it is yyyy-mm-dd could also be misconstrued by said unfortunate Americans as yyyy-dd-mm because...well...yeah. As noted elsewhere this dd mmm yyyy format also works nicely in written and verbal communication as 12th of august where no one ever is going to write or speak to each other twenty twenty three august twelfth. So again, more universal and less ambiguous.