# Date Formatting

Format the date values of the DatePicker control in Blazor Edition. Learn more about the date formatting in Blazor documentation.

## Content



DatePicker allows you to set the date format for displaying the date in a specific format. You can use [Format](/componentone/api/blazor/online-blazor/dotnet-api/C1.Blazor.DateTimeEditors/C1.Blazor.DateTimeEditors.C1DatePicker.Format.html) property of the [C1DatePicker](/componentone/api/blazor/online-blazor/dotnet-api/C1.Blazor.DateTimeEditors/C1.Blazor.DateTimeEditors.C1DatePicker.html) 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.

![Using Format property to display date in DatePicker control.](https://cdn.mescius.io/document-site-files/images/f5b600ba-f1a7-4f89-a20c-aa6c0c35880d/images/datepicker-dateformat.png)

```csharp
<C1DatePicker Value="DateTime.Today" Format="MM-dd-yyyy"></C1DatePicker>
```