---
title: dropLeading
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/datecomponentsformatter/zeroformattingbehavior-swift.struct/dropleading
---

# dropLeading

The drop leading zeroes formatting behavior. Units whose values are 0 are dropped starting at the beginning of the sequence. Units continue to be dropped until a non-zero value is encountered. For example, when days, hours, minutes, and seconds are allowed, the abbreviated version of ten minutes is displayed as “10m 0s”.

## Declaration

```swift
static var dropLeading: DateComponentsFormatter.ZeroFormattingBehavior { get }
```

## See Also

### Constants

- [default](foundation/datecomponentsformatter/zeroformattingbehavior-swift.struct/default.md)
- [dropMiddle](foundation/datecomponentsformatter/zeroformattingbehavior-swift.struct/dropmiddle.md)
- [dropTrailing](foundation/datecomponentsformatter/zeroformattingbehavior-swift.struct/droptrailing.md)
- [dropAll](foundation/datecomponentsformatter/zeroformattingbehavior-swift.struct/dropall.md)
- [pad](foundation/datecomponentsformatter/zeroformattingbehavior-swift.struct/pad.md)
