Example of Format in ASP.NET Core DatePicker Control

DatePicker
Format

In this sample, the DatePicker has been configured with the dd-MMM-yy date format. To change this current date format, go to the properties panel at the right side and select a date format from the available options. For mobile mode touch the icon at the right side and select a date format from the available options.

Properties
dd/MM/yyyy, yyyyMMdd

Date Formats sample illustrates the support of custom date format in the DatePicker component by using the format property. You can also change the date format by selecting it from the format options in the properties panel.

Furthermore, this example showcases the flexible date value parsing functionality available in DatePicker component. By utilizing the InputFormats property, users can enter dates in various formats, which will be automatically parsed and formatted according to the chosen date format.

More information on the date format configuration can be found in the documentation section.

Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab