<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/Date/FormatStyle/Symbol",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:10Foundation4DateV11FormatStyleV6SymbolV"
  },
  "title" : "Date.FormatStyle.Symbol"
}
-->

# Date.FormatStyle.Symbol

Types that customize formatting templates either by using the date format style’s modifier functions or by constructing fixed-pattern date format strings.

```
struct Symbol
```

## Topics

### Modifying Date Style Format Symbols

[`struct CyclicYear`](/documentation/Foundation/Date/FormatStyle/Symbol/CyclicYear)

A type that specifies a format for a cyclic year in a date format style.

[`struct Day`](/documentation/Foundation/Date/FormatStyle/Symbol/Day)

A type that specifies the format for a day in a date format style.

[`struct DayOfYear`](/documentation/Foundation/Date/FormatStyle/Symbol/DayOfYear)

A type that specifies the format for the day of the year in a date format style.

[`struct DayPeriod`](/documentation/Foundation/Date/FormatStyle/Symbol/DayPeriod)

A type that specifies a format for the time period in a date format style.

[`struct Era`](/documentation/Foundation/Date/FormatStyle/Symbol/Era)

A type that specifies a format for the era in a date format style.

[`struct Hour`](/documentation/Foundation/Date/FormatStyle/Symbol/Hour)

A type that specifies a format for the hour in a date format style.

[`struct Minute`](/documentation/Foundation/Date/FormatStyle/Symbol/Minute)

A type that specifies the format for the minutes in a date format style.

[`struct Month`](/documentation/Foundation/Date/FormatStyle/Symbol/Month)

A type that specifies a format for the month in a date format style.

[`struct Quarter`](/documentation/Foundation/Date/FormatStyle/Symbol/Quarter)

A type that specifies the format for the quarter in a date format style.

[`struct Second`](/documentation/Foundation/Date/FormatStyle/Symbol/Second)

A type that specifies the format for the seconds in a date format style.

[`struct SecondFraction`](/documentation/Foundation/Date/FormatStyle/Symbol/SecondFraction)

A type that specifies the format for the second fraction in a date format style.

[`struct StandaloneMonth`](/documentation/Foundation/Date/FormatStyle/Symbol/StandaloneMonth)

A type that specifies the format for a standalone month.

[`struct StandaloneQuarter`](/documentation/Foundation/Date/FormatStyle/Symbol/StandaloneQuarter)

A type that specifies the format for a standalone quarter.

[`struct StandaloneWeekday`](/documentation/Foundation/Date/FormatStyle/Symbol/StandaloneWeekday)

A type that specifies the format for a standalone weekday.

[`struct TimeZone`](/documentation/Foundation/Date/FormatStyle/Symbol/TimeZone)

A type that specifies a format for the time zone in a date format style.

[`struct VerbatimHour`](/documentation/Foundation/Date/FormatStyle/Symbol/VerbatimHour)

A type that specifies a format for the hour in a date format style.

[`struct Week`](/documentation/Foundation/Date/FormatStyle/Symbol/Week)

A type that specifies the format for the week in a date format style.

[`struct Weekday`](/documentation/Foundation/Date/FormatStyle/Symbol/Weekday)

A type that specifies the format for the weekday name in a date format style.

[`struct Year`](/documentation/Foundation/Date/FormatStyle/Symbol/Year)

A type that specifies a format for the year in a date format style.

[`struct YearForWeekOfYear`](/documentation/Foundation/Date/FormatStyle/Symbol/YearForWeekOfYear)

A type that specifies the format for a year in week-of-year calendars when you parse a string with a date format string.

### Comparing Date Style Format Symbols

[`static func == (Date, Date) -> Bool`](/documentation/Foundation/Date/==(_:_:))

Returns true if the two `Date` values represent the same point in time.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)