You get the date from JSON as a string. Therefore it makes no sense to
call stringFromDate:
first (and there should be a "incompatible pointer warning").
Only dateFromString:
is needed:
NSString *date = @"2014-05-10T19:00:00";
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc]init];
[dateFormatter setDateFormat:@"yyyy-MM-dd'T'HH:mm:ss"];
NSDate *newDate = [dateFormatter dateFromString:date];