<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSDatePickerCell/dateValue",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSDatePickerCell(py)dateValue"
  },
  "title" : "dateValue"
}
-->

# dateValue

The date currently specified in the picker.

```
var dateValue: Date { get set }
```

## Discussion

Assign a date to this property to set the starting value for the picker. For range-based dates, use the [`timeInterval`](/documentation/AppKit/NSDatePickerCell/timeInterval) property to set the extent of the time range.

---

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)