<!--
{
  "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/RelativeFormatStyle/Presentation-swift.struct/named",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:10Foundation4DateV19RelativeFormatStyleV12PresentationV5namedAGvpZ"
  },
  "title" : "named"
}
-->

# named

A style that uses named styles to describe relative dates, such as “yesterday”, “last week”, or “next week”.

```
static var named: Date.RelativeFormatStyle.Presentation { get }
```

## Discussion

The format uses the [`numeric`](/documentation/Foundation/Date/RelativeFormatStyle/Presentation-swift.struct/numeric) style if a name isn’t available.

---

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)