<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/DatePickerComponents",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI20DatePickerComponentsV"
  },
  "title" : "DatePickerComponents"
}
-->

# DatePickerComponents

```
struct DatePickerComponents
```

## Topics

### Getting date picker components

[`date`](/documentation/SwiftUI/DatePickerComponents/date)

Displays day, month, and year based on the locale

[`hourAndMinute`](/documentation/SwiftUI/DatePickerComponents/hourAndMinute)

Displays hour and minute components based on the locale

[`hourMinuteAndSecond`](/documentation/SwiftUI/DatePickerComponents/hourMinuteAndSecond)

Displays hour, minute and second components based on the locale



---

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)