I have a method,
+ (NSDate *) convertToDateFrom:(NSString *) dateString { if (dateString == nil || [dateString isEqual:@\"\"]) return nil; //return nil i
Try setting the time zone and locale.
[df setLocale:[NSLocale currentLocale]]; [df setTimeZone:[NSTimeZone systemTimeZone]];