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

# twoDigits

The two-digit representation of a quarter.

## Declaration

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

## Discussion

Discussion This custom format style conveys a two-digit representation of a quarter. For example, 02, for the second quarter.

## See Also

### Modifying a Quarter

- [abbreviated](foundation/date/formatstyle/symbol/quarter/abbreviated.md)
- [narrow](foundation/date/formatstyle/symbol/quarter/narrow.md)
- [oneDigit](foundation/date/formatstyle/symbol/quarter/onedigit.md)
- [wide](foundation/date/formatstyle/symbol/quarter/wide.md)
