I created UIDatePicker with style of Cut Down Timer then added Interval with 12 minutes. It’s look like this:

Then I select 1 hour and 0 minutes now want to see how much is selected (in the code):
NSDateFormatter *dateformatter = [[NSDateFormatter alloc] init];
[dateformatter setDateFormat:@"HH:mm:ss"];
NSString *selected = [dateformatter stringFromDate:[CutdownDatePicker date]];
Now i print a value of slected and it;s shows 01:01:00 which is 1 hour and 1 minute, but i selected 0 minutes ?
Everything is fine if i select 12, 24, 48 minute but if i select 0 minutes it’s add me 1 minute.
Please help with this unwanted behaviour.
Thanks.
This is a count down date picker. Don’t ask for its
date; that is meaningless. Ask for itscountDownDuration.