# .NET MAUI Calendar Date Properties

The <a href="https://www.telerik.com/maui-ui/calendar" target="_blank">.NET MAUI Calendar</a> provides various date properties that allow you to configure the control by setting the display date, restricting the selectable dates, disabling the day names, and more.

## Setting the Display Date

To set the currently displayed date, use the `DisplayDate` property.

* `DisplayDate`(`DateTime`)—Specifies the date that is currently displayed.

## Constraining Visible Dates and Selection

To limit the visible dates in the Calendar that the user can select, use the `MinDate` and `MaxDate` properties. This allows you to prevent the user from navigating the Calendar to a date outside of the defined date range.

As a result, if the currently selected view contains any dates that are outside of the defined `MinDate`-`MaxDate` range, they look disabled.

* `MinDate`(`DateTime`)—Specifies the earliest date that the Calendar can display.
* `MaxDate`(`DateTime`)—Specifies the latest date that the Calendar can display.

```XAML
<Grid>
    <telerik:RadCalendar AutomationId="calendar"
                         x:Name="calendar"
                         DisplayDate="7/22/2023"
                         MinDate="1/1/2022"
                         MaxDate="12/31/2024" />
</Grid>
```

> For a runnable example with the Calendar Date Properties, see the [SDKBrowser Demo Application](https://www.telerik.com/maui-ui/documentation/demos-and-sample-apps/sdkbrowser-app) and go to the **Calendar > Features** category.

## Hiding the Names of the Days

In the Month view, the names of the days of the week are visible by default. You can hide the names by setting the `AreDayNamesVisible`(`bool`) property to `False`.

```XAML
<telerik:RadCalendar AreDayNamesVisible="False" />
```

> For a runnable example with the visibility of the names of the days in the Calendar, see the [SDKBrowser Demo Application](https://www.telerik.com/maui-ui/documentation/demos-and-sample-apps/sdkbrowser-app) and go to the **Calendar > Features** category.

## Hiding the Leading and Trailing Days

In the Month, Year, Century, and Decade views, the leading and trailing days are visible by default. You can hide them by setting the `IsOutOfScopeVisible`(`bool`) property to `False`.

```XAML
<telerik:RadCalendar IsOutOfScopeVisible="False" />
```

> For a runnable example demonstrating the `IsOutOfScopeVisible` property, see the [SDKBrowser Demo Application](https://www.telerik.com/maui-ui/documentation/demos-and-sample-apps/sdkbrowser-app) and go to the **Calendar > Features** category.

## Setting the First Day of the Week

For half of the world, Monday is the first day of the week, and for the other half, this is Sunday. Use the `FirstDayOfWeek` property to set the first day of the week in your application.

* `FirstDayOfWeek`(enum of type ` System.DayOfWeek?`)—Specifies the day that is considered the beginning of the week.

```XAML
<telerik:RadCalendar x:Name="calendar"
                     FirstDayOfWeek="Monday" />
```

## See Also

* [Navigation Between the Different Views](https://www.telerik.com/maui-ui/documentation/controls/calendar/navigation)
* [Specify the Formatting](https://www.telerik.com/maui-ui/documentation/controls/calendar/formatting)
* [Selection modes](https://www.telerik.com/maui-ui/documentation/controls/calendar/selection)
* [Use exposed Events](https://www.telerik.com/maui-ui/documentation/controls/calendar/events)
* [Use the exposed Commands](https://www.telerik.com/maui-ui/documentation/controls/calendar/commands)
* [Define Templates](https://www.telerik.com/maui-ui/documentation/controls/calendar/templates)
* [Calendar Header Styling](https://www.telerik.com/maui-ui/documentation/controls/calendar/styling/header-styling)
