<!--
{
  "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/VerbatimHour/Clock",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:10Foundation4DateV11FormatStyleV6SymbolV12VerbatimHourV5ClockV"
  },
  "title" : "Date.FormatStyle.Symbol.VerbatimHour.Clock"
}
-->

# Date.FormatStyle.Symbol.VerbatimHour.Clock

A type that specifies a clock representation for the format of an hour.

```
struct Clock
```

## Topics

### Modifying a Verbatim Hour Clock

[`static let twelveHour: Date.FormatStyle.Symbol.VerbatimHour.Clock`](/documentation/Foundation/Date/FormatStyle/Symbol/VerbatimHour/Clock/twelveHour)

A clock that portrays the hour using a 12-hour clock.

[`static let twentyFourHour: Date.FormatStyle.Symbol.VerbatimHour.Clock`](/documentation/Foundation/Date/FormatStyle/Symbol/VerbatimHour/Clock/twentyFourHour)

A clock that portrays the hour using a 24-hour clock.

### Comparing Verbatim Hour Clocks

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

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

## Relationships

### Conforms To

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

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

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

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

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

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