<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/DateIntervalFormatter/Style",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@E@NSDateIntervalFormatterStyle"
  },
  "title" : "DateIntervalFormatter.Style"
}
-->

# DateIntervalFormatter.Style

Formatting styles for individual date and time values.

```
enum Style
```

## Topics

### Constants

[`NSDateIntervalFormatterNoStyle`](/documentation/Foundation/DateIntervalFormatter/Style/none)

No information for the date or time. Use this style when you do not want to include date or time information in the resulting string.

[`NSDateIntervalFormatterShortStyle`](/documentation/Foundation/DateIntervalFormatter/Style/short)

An abbreviated date or time format.

[`NSDateIntervalFormatterMediumStyle`](/documentation/Foundation/DateIntervalFormatter/Style/medium)

A medium length date or time format.

[`NSDateIntervalFormatterLongStyle`](/documentation/Foundation/DateIntervalFormatter/Style/long)

A long length date or time format.

[`NSDateIntervalFormatterFullStyle`](/documentation/Foundation/DateIntervalFormatter/Style/full)

A fully spelled out date or time format.

## Relationships

### Conforms To

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

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

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

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

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

[`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)