Format date according to the current locale and the user's date-order preference.