search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Change locale from mm/dd/yyyy to dd/mm/yyyy

Asked by Anonymous
1 year ago.

How can the date format be changed from mm/dd/yyyy to dd/mm/yyyy or any other locale using the DayPilotDatePicker control with the DayPilotCalendar control in WebForms?

Answer posted by Anonymous
1 year ago.

The ASP.NET WebForms version of the DatePicker always used the default date format of the current locale. However, there is now a new property called "Pattern" available in the latest sandbox build (2020.4.3771) - it will let you change the date format as needed.

use Pattern="dd/MM/yyyy" to get the uk date format

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.