I cannot convert this kind of strings to NSDate, please help me out here. What am I doing wrong below?
dateString = @"201302051614461";
NSDateFormatter *dateFormatter = [NSDateFormatter new];
[dateFormatter setDateFormat:@"YYYYMMddHHmmSSSSS"];
NSDate *date = [dateFormatter dateFromString:dateString];
NSLog(@"dateString: %@", dateString);
NSLog(@"date: %@", date);
This returns with an empty date.