hi, i want in my application to use the 12 hour clock format so the user can write 15:00 for 3:00 pm so i don't need to create a button am and pm. Thanks
+1
A:
Probably you want to use the 24 hour clock format instead of the 12 hour format. So use a NSDateFormatter with H in the format string. Using one of the predefined formats will end up using your systems localization which probably is the 12 hour format.
NSDateFormatter *inputFormatter = [[NSDateFormatter alloc] init];
[inputFormatter setDateFormat:@"HH:mm"];
Jens
2010-04-30 20:53:28