How can I change the default date format?

Thanks a lot, @Xiphware. Do you show me how should I write? I have tried, but not working.

date-error