Contents

twoDigitsNoAMPM

Custom format style portraying the numeric hour using two digits.

Declaration

static var twoDigitsNoAMPM: Date.FormatStyle.Symbol.Hour { get }

Discussion

This style pads the hour with a leading zero if necessary. It doesn’t include the day period symbol (a.m. or p.m.). For example, 01, 11.

See Also

Modifying an Hour