<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UICalendarView/availableDateRange",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UICalendarView(py)availableDateRange"
  },
  "title" : "availableDateRange"
}
-->

# availableDateRange

The range of dates that the calendar view displays.

```
var availableDateRange: DateInterval { get set }
```

## Discussion

Set `availableDateRange` to restrict the earliest or latest dates that the calendar view displays. The default date range starts with <doc://com.apple.documentation/documentation/Foundation/Date/distantPast> (Swift) or <doc://com.apple.documentation/documentation/Foundation/NSDate/distantPast> (Objective-C), and ends with <doc://com.apple.documentation/documentation/Foundation/Date/distantFuture> (Swift) or <doc://com.apple.documentation/documentation/Foundation/NSDate/distantFuture> (Objective-C).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)