DatePicker allows you to set the date format for displaying the date in a specific format. You can use Format property of the C1DatePicker class to set the standard date format for the DatePicker control. The following code showcases the use of Format property to set the "MM-dd-yyyy" date format to display date in the control.
C# |
Copy Code
|
---|---|
<C1DatePicker Value="DateTime.Today" Format="MM-dd-yyyy"></C1DatePicker> |