Why does the simulator is showing me 10:30 nachm.
instead of 10:30 PM
? I use the following code:
NSDateFormatter *dateFormat = [[NSDateFormatter alloc] init];
[dateFormat setDateFormat: @"h:mm a"];
NSLog(@"%@",[dateformat stringFromDate: myDate]);
OK I think I have to set a Locale somewhere ...