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

# twoDigits

The custom format style that shows the two-digit numeric minute, zero-padded if necessary.

## Declaration

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

## Discussion

Discussion For example, this style represents one minute past the hour as 01, and eighteen past as 18.

## See Also

### Modifying a Minute

- [defaultDigits](foundation/date/formatstyle/symbol/minute/defaultdigits.md)
