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

# twoDigits

The two-digit representation of a standalone month.

## Declaration

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

## Discussion

Discussion This style uses representations like 01 for January and 10 for October.

## See Also

### Modifying a Standalone Month

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