max

Gets/Sets the max value of the DateRangePicker.

Parameters

value Date | String

The max date to set.

Returns

Date The max value of the DateRangePicker.

Example - get the max value of the DateRangePicker

<div id="daterangepicker"></div>
<script>
$("#daterangepicker").kendoDateRangePicker();

var daterangepicker = $("#daterangepicker").data("kendoDateRangePicker");

var max = daterangepicker.max();

/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(max);
</script>

Example - set the max value of the DateRangePicker

<div id="daterangepicker"></div>
<script>
$("#daterangepicker").kendoDateRangePicker();

var daterangepicker = $("#daterangepicker").data("kendoDateRangePicker");

daterangepicker.max(new Date(2100, 0, 1));
</script>
In this article