I have this date formatter:
NSDateFormatter *timeFormatter = [[NSDateFormatter alloc] init]; [timeFormatter setDateFormat:@\"HH:mm\"];
If I u
You have to two steps here
NSLocale* locale = [[NSLocale alloc] initWithLocaleIdentifier:@"en_GB"]; [formatter setLocale:locale]; [formatter setDateFormat:@"hh:mm a"];
here a in the formatter gives am/pm format