---
title: threeDigits
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/date/formatstyle/symbol/dayofyear/threedigits
---

# threeDigits

Custom format style portraying the three-digit numeric day of the year, zero-padded if necessary.

## Declaration

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

## Discussion

Discussion For example, 001, 018, 317.

## See Also

### Modifying a Day of Year Value

- [defaultDigits](foundation/date/formatstyle/symbol/dayofyear/defaultdigits.md)
- [twoDigits](foundation/date/formatstyle/symbol/dayofyear/twodigits.md)
