New to Kendo UI for jQuery? Download free 30-day trial

Use the Current DateTimePicker Culture Default Date Format as a Parse Format


Product Progress® Kendo UI® DateTimePicker for jQuery
Operating System Windows 10 64bit
Visual Studio Version Visual Studio 2017
Preferred Language JavaScript


How can I use the current default culture format as a parse format for the Kendo UI for jQuery DateTimePicker?


The default behavior of the DateTimePicker widget is to treat a value with no time part as invalid unless the corresponding format is provided in the parseFormats option.

The following example demonstrates how to add the default short date format of the current culture to the parseFormats array, so that when the time portion is removed from the DateTimePicker input, the value is still parsed as a valid date.

<script src=""></script>
<input id="datetimepicker" />
    parseFormats: [kendo.culture().calendar.patterns['d']],
    change: function(e){

See Also

In this article