I have a date string which looks like this: Mar 13 '15
I am not able to find the right way to parse this. I've tried the following:
NSDateFormatter *df = [[NSDateFormatter alloc] init];
[df setDateFormat:@"MMM dd ''YY"];
//[df setDateFormat:@"MMM dd 'YY"];
//[df setDateFormat:@"MMM dd YY"];
NSDate *date = [df dateFromString:label.text];
Does anyone know how to do it using setDateFormat ? Thanks^^