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

# twoDigits

The custom month format style that uses two digits to represent the numeric month.

## Declaration

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

## Discussion

Discussion This style represents the month like 01 or 12.

## See Also

### Modifying a Month

- [abbreviated](foundation/date/formatstyle/symbol/month/abbreviated.md)
- [defaultDigits](foundation/date/formatstyle/symbol/month/defaultdigits.md)
- [narrow](foundation/date/formatstyle/symbol/month/narrow.md)
- [wide](foundation/date/formatstyle/symbol/month/wide.md)
