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

# timeInterval

The time interval that represents the date range.

```
var timeInterval: TimeInterval { get set }
```

## Discussion

The date range begins at the date in the [`dateValue`](/documentation/AppKit/NSDatePickerCell/dateValue) property. The value in this property applies only when the date picker is in the [`NSRangeDateMode`](/documentation/AppKit/NSRangeDateMode) mode.

---

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)