I have this NSString
:
2010-05-29T16:31:49.000Z
And i want to convert it to NSDate with this method:
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
NSDate *date = nil;
[dateFormatter setDateFormat:@"yyyy-MM-ddTHH:mm:ss.SSSZZZ"];
date = [dateFormatter dateFromString:dateSting];
And when i run it date is equal to Nil, Any idea why it happens?
It's happen only in iPad, and in iPhone it work perfectly.....