New to Telerik UI for ASP.NET Core? Download free 30-day trial

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.

    @(Html.Kendo().DateRangePicker()
        .Name("daterangepicker")
        .Format("{0:dd/MM/yyyy}")
    )
    <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 article. At the client-side you are also able to format dates by using the Kendo UI kendo.toString method.

See Also

In this article