---
title: "defaultDigits(clock:hourCycle:)"
framework: foundation
role: symbol
role_heading: Type Method
path: "foundation/date/formatstyle/symbol/verbatimhour/defaultdigits(clock:hourcycle:)"
---

# defaultDigits(clock:hourCycle:)

Creates a custom format style portraying the minimum number of digits that represents the hour.

## Declaration

```swift
static func defaultDigits(clock: Date.FormatStyle.Symbol.VerbatimHour.Clock, hourCycle: Date.FormatStyle.Symbol.VerbatimHour.HourCycle) -> Date.FormatStyle.Symbol.VerbatimHour
```

## Parameters

- `clock`: The clock representation.
- `hourCycle`: The start of the clock representation.

## Return Value

Return Value An hour format style customized according to the specified clock representation and the start of the clock representation.

## See Also

### Modifying a Verbatim Hour

- [twoDigits(clock:hourCycle:)](foundation/date/formatstyle/symbol/verbatimhour/twodigits(clock:hourcycle:).md)
