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

# maxDate

The date picker’s maximum date value.

## Declaration

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

## Discussion

Discussion This property represents the maximum value that the date picker allows as input. nil indicates no maximum date.

## See Also

### Constraining the Displayable/Selectable Range

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