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

# Date components

Configure the details for parameter variables that contain date components.

## 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:)-1no2a)

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:)-38o37)

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:)-4438x)

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:)-8vfnx)

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

### Accessing the date kind

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

[`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)