<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSDatePicker/Mode",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSDatePickerMode"
  },
  "title" : "NSDatePicker.Mode"
}
-->

# NSDatePicker.Mode

Constants that define whether the picker provides a single date, or a range of dates.

```
enum Mode
```

## Topics

### Enumeration Cases

[`NSDatePickerModeRange`](/documentation/AppKit/NSDatePicker/Mode/range)

[`NSDatePickerModeSingle`](/documentation/AppKit/NSDatePicker/Mode/single)

### Constants

[`NSSingleDateMode`](/documentation/AppKit/NSSingleDateMode)

[`NSRangeDateMode`](/documentation/AppKit/NSRangeDateMode)

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Hashable`](/documentation/Swift/Hashable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

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)