# Dates

The MultiViewCalendar enables you to handle the configuration of its [focused](https://www.telerik.com/kendo-react-ui/components/dateinputs/multiviewcalendar/dates#focused-dates) and [selected](https://www.telerik.com/kendo-react-ui/components/dateinputs/multiviewcalendar/dates#selected-dates) dates.

## Focused Dates

The MultiViewCalendar always displays a focused date and, by default, the focused date is today's date. To change the initial focused date, use the [`focusedDate`](https://www.telerik.com/kendo-react-ui/components/dateinputs/api/multiviewcalendarprops#focuseddate) property by setting it to a specific `Date` value. The `Date` value has to be a valid JavaScript `Date` object.

```jsx
const App = () => {
    return <MultiViewCalendar focusedDate={new Date(2010, 10, 10)} />;
};
```

## Selected Dates

By default, the selected date is not set and the MultiViewCalendar displays only the focused date. To define the selected date, use the [`value`](https://www.telerik.com/kendo-react-ui/components/dateinputs/api/multiviewcalendarprops#value) property.

The MultiViewCalendar accepts the following values that you can set as selected:

* [A single date](https://www.telerik.com/kendo-react-ui/components/dateinputs/multiviewcalendar/dates#single-dates)
* [Multiple dates](https://www.telerik.com/kendo-react-ui/components/dateinputs/multiviewcalendar/dates#multiple-dates)
* [Range date selections](https://www.telerik.com/kendo-react-ui/components/dateinputs/multiviewcalendar/dates#range-date-selections)

### Single Dates

To set a single date as selected, pass the JavaScript `Date` object as a value.

```jsx
const App = () => {
    return <MultiViewCalendar value={new Date(2010, 10, 10)} />;
};
```

### Multiple Dates

To set multiple dates as selected, pass an array of JavaScript `Date` objects as a value.

```jsx
const App = () => {
    return <MultiViewCalendar value={[new Date(2010, 10, 10), new Date(2010, 10, 11), new Date(2010, 10, 12)]} />;
};
```

### Range Date Selections

To set a range of dates as selected, pass an object with `start` and `end` keys which represent the selected range.

```jsx
const App = () => {
    return (
        <MultiViewCalendar
            value={{
                start: new Date(2010, 10, 10),
                end: new Date(2010, 10, 20)
            }}
        />
    );
};
```

## Suggested Links

* [API Reference of the Calendar](https://www.telerik.com/kendo-react-ui/components/dateinputs/api/calendarprops)
* [React Date Inputs](https://www.telerik.com/kendo-react-ui/components/dateinputs)
