---
title: twoDigits
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/date/formatstyle/symbol/week/twodigits
---

# twoDigits

Custom format style portraying the two-digit numeric week, zero-padded if necessary.

## Declaration

```swift
static var twoDigits: Date.FormatStyle.Symbol.Week { get }
```

## See Also

### Modifying a Week

- [defaultDigits](foundation/date/formatstyle/symbol/week/defaultdigits.md)
- [weekOfMonth](foundation/date/formatstyle/symbol/week/weekofmonth.md)
