max

Gets or sets the maximum value of the TimePicker.

Parameters

value Date|String

The maximum time value to set for a TimePicker, expressed as a Date object or as a string.

Returns

Date The maximum time value of a TimePicker.

Example - get the max value of the TimePicker

<input id="timepicker" />
<script>
$("#timepicker").kendoTimePicker();

var timepicker = $("#timepicker").data("kendoTimePicker");

var max = timepicker.max();

console.log(max);
</script>

Example - set the max value of the TimePicker

<input id="timepicker" />
<script>
$("#timepicker").kendoTimePicker();

var timepicker = $("#timepicker").data("kendoTimePicker");

timepicker.max(new Date(2000, 0, 1, 22, 0, 0));
</script>
In this article
Not finding the help you need?