I have Date is 2012-09-25 09:33:10 +0000
, using
[dateFormatter setDateFormat:@"yyyy-MM-dd HH:mm:ss"];
NSDate *d = [dateFormatter dateFromString:sDate];
// sDate = @"2012-September-21"
But i get nil , instead of a formatter date. What can be the issue ?