<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INDateRelevanceProvider/init(start:end:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INDateRelevanceProvider(im)initWithStartDate:endDate:"
  },
  "title" : "init(start:end:)"
}
-->

# init(start:end:)

Creates a relevance provider with the specified start and end dates.

```
init(start startDate: Date, end endDate: Date?)
```

## Parameters

`startDate`

A relevant start date for the provider.

`endDate`

An optional relevant end date for the provider.

## Return Value

A newly initialized date relevance provider.

---

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)