I have a date i take from twitter :
NSString *date=[twt objectForKey:@"created_at"];
NSLog(@"%@",date);
NSDateFormatter *df = [ [NSDateFormatter alloc] init] ;
[df setDateFormat:@"dd-MM-yyyy HH:mm:ss"];
NSDate *newdate = [df dateFromString:date];
NSLog(@"new: %@",newdate); //null
the date is : Thu Jun 12 20:56:53 +0000 2014
and i get null on the new date .
What am i missing ?