How can I parse this into an objective-c object most efficiently?
"2010-07-13T11:22:33-07:00"
This is what I tried
NSDateFormatter *format = [[NSDateFormatter alloc] init];
[format setDateFormat:@"yyyy-MMM-ddTHH:mm:ssZ"];
How can I parse this into an objective-c object most efficiently?
"2010-07-13T11:22:33-07:00"
This is what I tried
NSDateFormatter *format = [[NSDateFormatter alloc] init];
[format setDateFormat:@"yyyy-MMM-ddTHH:mm:ssZ"];
What kind of object? I'm going to assume you want that to become an NSDate, in which case you want an NSDateFormatter.