I have a situation where date is formatted in a mm-dd-yyyy format rather than dd-mm-yyyy.
This is only happening to 1 user in particular. I have checked date time format on the computer it seems to be on dd-mm-yyyy.
Can anyone please advise me on how to resolve this issue?
Best answer by AMolyneuxView original
Have you tried setting a custom date format on whatever control you are using to display the date? That way all users should see the same date format regardless of what date settings they have on their machine.
By default, a Calendar controls Date and Time format is set to the “Type” of “Short Date” and the “Language/Region” to “User settings”. This means that the calendar control will utilise the user’s browser culture to display, but you can override this by selecting the “Use” option and then specifying a culture to use e.g. English (United Kingdom).If you want to use a differ formatting type than available via the “Type” drop-down, you can then specify your own custom format.
The date format is also dependent on the language settings on the user’s browser as well. If multiple languages are available, a browser uses the language with the highest priority to decide the format in which the date is displayed.
Chrome and Firefox display the date in MM/DD/YYYY. You can change the date format in Chrome to display as DD/MM/YYYY using these steps: