Good day,
i have an NSDateFormatter that doesn't seem to like a particular string that i am trying to convert. this particular instance is
2009-10-16T09:42:24.999605
All of my other dates are formatted the same, and can be parsed.
Here is the code that converts the string in the NSDate.
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc]init];
[dateFormatter setDateFormat:@"yyyy-MM-dd'T'HH:mm:ss.SSSSSS"];
[order setModifiedAtDate:[dateFormatter dateFromString:[orderDataDictionary valueForKey:@"ModifiedAt"]]];
order.ModifiedAtDate is nil after the dateFromString call.
Has anyone else come across cases where their dates could not converted into NSDates?
Thanks,