---
title: Date.ISO8601FormatStyle.DateSeparator.dash
framework: foundation
role: symbol
role_heading: Case
path: foundation/date/iso8601formatstyle/dateseparator-swift.enum/dash
---

# Date.ISO8601FormatStyle.DateSeparator.dash

Specifies a dash character separating year, month, and day components in an ISO 8601 date format style.

## Declaration

```swift
case dash
```

## Discussion

Discussion The rawValue of dash is “-”.

## See Also

### Specifying ISO 8601 Format Style Date Separators

- [Date.ISO8601FormatStyle.DateSeparator.omitted](foundation/date/iso8601formatstyle/dateseparator-swift.enum/omitted.md)
