I have an NSDate
formatted with NSDateFormatter
as "hh:mm:ss". Everything displays properly except when the hour is one digit (e.g. 3:00) it would display 03:00. How would I get rid of that 0 so it would display 3:00?
If you use 1 h
instead of two you will not get the leading 0.
h:mm:ss
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With