<!--
{
  "documentType" : "article",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/IntentParameter-Date",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Dates"
}
-->

# Dates

Configure the details for parameter variables that contain date values.

## Topics

### Creating an intent parameter

[`convenience init(title: LocalizedStringResource, description: LocalizedStringResource?, kind: IntentParameter<Value>.DateKind, requestValueDialog: IntentDialog?, inputConnectionBehavior: InputConnectionBehavior)`](/documentation/AppIntents/IntentParameter/init(title:description:kind:requestValueDialog:inputConnectionBehavior:)-97fq8)

Creates an app intent parameter.

[`convenience init<OptionsProvider>(title: LocalizedStringResource, description: LocalizedStringResource?, kind: IntentParameter<Value>.DateKind, requestValueDialog: IntentDialog?, inputConnectionBehavior: InputConnectionBehavior, optionsProvider: OptionsProvider)`](/documentation/AppIntents/IntentParameter/init(title:description:kind:requestValueDialog:inputConnectionBehavior:optionsProvider:)-1adrk)

Creates an app intent parameter with a list of selectable options.

[`convenience init<Spec, OptionsProvider>(title: LocalizedStringResource, description: LocalizedStringResource?, kind: IntentParameter<Value>.DateKind, requestValueDialog: IntentDialog?, inputConnectionBehavior: InputConnectionBehavior, optionsProvider: OptionsProvider, resolvers: () -> Spec)`](/documentation/AppIntents/IntentParameter/init(title:description:kind:requestValueDialog:inputConnectionBehavior:optionsProvider:resolvers:)-3hg6n)

Creates an app intent parameter with a list of selectable options that can convert the selected value.

[`convenience init<Spec>(title: LocalizedStringResource, description: LocalizedStringResource?, kind: IntentParameter<Value>.DateKind, requestValueDialog: IntentDialog?, inputConnectionBehavior: InputConnectionBehavior, resolvers: () -> Spec)`](/documentation/AppIntents/IntentParameter/init(title:description:kind:requestValueDialog:inputConnectionBehavior:resolvers:)-6834b)

Creates an app intent parameter that can convert the selected value.

### Accessing the date kind

[`var dateKind: IntentParameter<Value>.DateKind?`](/documentation/AppIntents/IntentParameter/dateKind-15hd7)

[`enum DateKind`](/documentation/AppIntents/IntentParameter/DateKind-swift.enum)



---

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)