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

Calendar Types

By default, the DateRangePicker works with Date objects which support only the Gregorian calendar.

As a result, the DateRangePicker does not support other calendar types such as Lunar.

To work around the default behavior of the DateRangePicker and simulate a different calendar type, use either of the following approaches:

  • Use the JavaScript Date object.
  • Create a date that is in the past.
    <div id="daterangepicker"></div>

    <script>
        $("#daterangepicker").kendoDateRangePicker({
            disableDates: function (date) {
                var disabled = [13,14,20,21];
                if (date && disabled.indexOf(date.getDate()) > -1 ) {
                    return true;
                } else {
                    return false;
                }
            }
        });
    </script>

See Also

In this article