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
4 months 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 asp.net WebForms?

Answer posted by Anonymous
2 months 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.

https://aspnet.daypilot.org/sandbox/

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.