I in my project I am getting a string I am passing the string to the dateFormatter but I am getting nil, in the string instead of IST I may get PDT I may get any other formats,
NSString* currentDateString = @"2012-11-09 12:31:53.0 **IST**";
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter setDateFormat:@"yyyy-MM-dd HH:mm:ss.S z"];
NSDate *dateFromString = [dateFormatter dateFromString:currentDateString];