---
title: RegexComponent.DateStyle
framework: swift
role: symbol
role_heading: Type Alias
path: swift/regexcomponent/datestyle
---

# RegexComponent.DateStyle

A type alias to use when matching date components in a regular expression.

## Declaration

```swift
typealias DateStyle = Date.FormatStyle.DateStyle
```

## See Also

### Supporting types

- [RegexOutput](swift/regexcomponent/regexoutput.md)
- [RegexComponent.TimeStyle](swift/regexcomponent/timestyle.md)
