# Date Formatting

The DateRangePicker's default date format is *MM-dd-yyyy*. You can set a preferred date format in the Telerik UI for ASP.NET Core DateRangePicker with the `Format` property.

The following example demonstrates how to define the date format.

```Razor HtmlHelper
    @(Html.Kendo().DateRangePicker()
        .Name("daterangepicker")
        .Format("{0:dd/MM/yyyy}")
    )
```

```Razor TagHelper
    <kendo-daterangepicker name="daterangepicker" format="{0:dd/MM/yyyy}">
    </kendo-daterangepicker>
```

You can find more information about the available formatting options in our [Date Formatting](https://docs.telerik.com/kendo-ui/globalization/intl/dateformatting) article. At the client-side you are also able to format dates by using the Kendo UI [`kendo.toString`](https://docs.telerik.com/kendo-ui/api/kendo/methods/tostring) method.

## See Also

* [Using the API of the DateRangePicker HtmlHelper for ASP.NET Core (Demo)](https://demos.telerik.com/aspnet-core/daterangepicker/api)
* [Server-Side API](https://www.telerik.com/aspnet-core-ui/documentation/api/daterangepicker)
* [Client-Side API](https://docs.telerik.com/kendo-ui/api/ui/daterangepicker)
