The input date string I need to parse is 2013:05:14 13:24:44 I try with this NSDateFormatter code but it does not work... Any idea ?
_dateFormatter = [NSDateFormatter alloc];
[_dateFormatter setDateFormat:@"yyyy:MM:dd hh:mm:ss"];
NSLocale *usLocale = [[NSLocale alloc] initWithLocaleIdentifier:@"en_US"];
[_dateFormatter setLocale:usLocale];
NSTimeZone *timeZone = [NSTimeZone timeZoneWithName:@"UTC"];