2013-05-15 7 views

Antwort

21
NSDate *myDate = datePicker.date; 

NSDateFormatter *dateFormat = [[NSDateFormatter alloc] init]; 
[dateFormat setDateFormat:@"cccc, MMM d, hh:mm aa"]; 
NSString *prettyVersion = [dateFormat stringFromDate:myDate];