---
title: defaultDigits
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/date/formatstyle/symbol/dayofyear/defaultdigits
---

# defaultDigits

Custom format style portraying the minimum number of digits that represents the numeric day of the year.

## Declaration

```swift
static var defaultDigits: Date.FormatStyle.Symbol.DayOfYear { get }
```

## Discussion

Discussion For example, 1, 18, 317.

## See Also

### Modifying a Day of Year Value

- [threeDigits](foundation/date/formatstyle/symbol/dayofyear/threedigits.md)
- [twoDigits](foundation/date/formatstyle/symbol/dayofyear/twodigits.md)
