---
title: oneDigit
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/date/formatstyle/symbol/quarter/onedigit
---

# oneDigit

The one-digit representation of a quarter.

## Declaration

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

## Discussion

Discussion This custom format style conveys a one-digit representation of a quarter. For example, 2, 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)
- [twoDigits](foundation/date/formatstyle/symbol/quarter/twodigits.md)
- [wide](foundation/date/formatstyle/symbol/quarter/wide.md)
