<!--
{
  "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/AttributeScopes/FoundationAttributes/DateFieldAttribute/Field",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:10Foundation15AttributeScopesO0A10AttributesV09DateFieldB0O0F0O"
  },
  "title" : "AttributeScopes.FoundationAttributes.DateFieldAttribute.Field"
}
-->

# AttributeScopes.FoundationAttributes.DateFieldAttribute.Field

```
enum Field
```

## Topics

### Enumeration Cases

[`case amPM`](/documentation/Foundation/AttributeScopes/FoundationAttributes/DateFieldAttribute/Field/amPM)

[`case day`](/documentation/Foundation/AttributeScopes/FoundationAttributes/DateFieldAttribute/Field/day)

[`case dayOfYear`](/documentation/Foundation/AttributeScopes/FoundationAttributes/DateFieldAttribute/Field/dayOfYear)

[`case era`](/documentation/Foundation/AttributeScopes/FoundationAttributes/DateFieldAttribute/Field/era)

[`case hour`](/documentation/Foundation/AttributeScopes/FoundationAttributes/DateFieldAttribute/Field/hour)

[`case minute`](/documentation/Foundation/AttributeScopes/FoundationAttributes/DateFieldAttribute/Field/minute)

[`case month`](/documentation/Foundation/AttributeScopes/FoundationAttributes/DateFieldAttribute/Field/month)

[`case quarter`](/documentation/Foundation/AttributeScopes/FoundationAttributes/DateFieldAttribute/Field/quarter)

[`case relatedGregorianYear`](/documentation/Foundation/AttributeScopes/FoundationAttributes/DateFieldAttribute/Field/relatedGregorianYear)

For non-Gregorian calendars, this corresponds to the extended Gregorian year in which the calendar’s year begins.

[`case second`](/documentation/Foundation/AttributeScopes/FoundationAttributes/DateFieldAttribute/Field/second)

[`case secondFraction`](/documentation/Foundation/AttributeScopes/FoundationAttributes/DateFieldAttribute/Field/secondFraction)

[`case timeZone`](/documentation/Foundation/AttributeScopes/FoundationAttributes/DateFieldAttribute/Field/timeZone)

[`case weekOfMonth`](/documentation/Foundation/AttributeScopes/FoundationAttributes/DateFieldAttribute/Field/weekOfMonth)

[`case weekOfYear`](/documentation/Foundation/AttributeScopes/FoundationAttributes/DateFieldAttribute/Field/weekOfYear)

[`case weekday`](/documentation/Foundation/AttributeScopes/FoundationAttributes/DateFieldAttribute/Field/weekday)

[`case weekdayOrdinal`](/documentation/Foundation/AttributeScopes/FoundationAttributes/DateFieldAttribute/Field/weekdayOrdinal)

The ordinal position of the weekday unit within the month unit. For example, `2` in “2nd Wednesday in July”

[`case year`](/documentation/Foundation/AttributeScopes/FoundationAttributes/DateFieldAttribute/Field/year)

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)