---
title: maxDate
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsdatepickercell/maxdate
---

# maxDate

The maximum date that the picker allows as input.

## Declaration

```swift
var maxDate: Date? { get set }
```

## Discussion

Discussion Set this property to nil if you want to allow any value for the maximum date.

## See Also

### Date Range Constraints

- [minDate](appkit/nsdatepickercell/mindate.md)
