Edit this page

min

Gets or sets the minimum value of the DateTimePicker.

Parameters

value Date |String

The minimum time value to set for a DateTimePicker, expressed as a Date object or as a string.

Returns

Date The minimum time value of a DateTimePicker.

Example - get the min value of the DateTimePicker

<input id="datetimepicker" />
<script>
$("#datetimepicker").kendoDateTimePicker();

var datetimepicker = $("#datetimepicker").data("kendoDateTimePicker");

var min = datetimepicker.min();

console.log(min);
</script>

Example - set the min value of the DateTimePicker

<input id="datetimepicker" />
<script>
$("#datetimepicker").kendoDateTimePicker();

var datetimepicker = $("#datetimepicker").data("kendoDateTimePicker");

datetimepicker.min(new Date(2000, 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