Edit this page

max

Gets/Sets the max value of the DateInput.

Parameters

value Date |String

The max date to set.

Returns

Date The max value of the DateInput.

Example - get the max value of the DateInput

<input id="dateinput" />
<script>
$("#dateinput").kendoDateInput();

var dateinput = $("#dateinput").data("kendoDateInput");

var max = dateinput.max();

console.log(max);
</script>

Example - set the max value of the DateInput

<input id="dateinput" />
<script>
$("#dateinput").kendoDateInput();

var dateinput = $("#dateinput").data("kendoDateInput");

dateinput.max(new Date(2100, 0, 1));
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy