# DatePicker Date Ranges

The DatePicker can restrict its value to a range between predefined minimum and maximum dates, allowing the user to pick a date only from that range.

To define the start date of the range, use the [`min`](https://www.telerik.com/kendo-angular-ui-develop/components/dateinputs/api/datepickercomponent#min) property. To define the end date, use the [`max`](https://www.telerik.com/kendo-angular-ui-develop/components/dateinputs/api/datepickercomponent#max) property. The `min` date value has to be lower than or equal to the `max` date value. When the `min` and `max` properties are configured and the selected date value is out of this range, the component triggers a validation error.

Alternatively, to prevent typing an out-of-range value, you can render the input in a read-only state, allowing the user to choose a value only from the popup Calendar ([see example](https://www.telerik.com/kendo-angular-ui-develop/components/dateinputs/datepicker/readonly-state#read-only-input)).

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dateinputs/datepicker/date_ranges/source.txt)

## Suggested Links

* [API Reference of the DatePicker](https://www.telerik.com/kendo-angular-ui-develop/components/dateinputs/api/datepickercomponent)
