Once you did the -setFormatterBehavior:NSDateFormatterBehavior10_0,
setDateFormat: became a no-op. setDateFormat: is a 10.4-behavior
formatter method.
Per the doc:
http://developer.apple.com/documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html#//apple_ref/doc/ui
Folks;
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init] ;
[dateFormatter setFormatterBehavior:NSDateFormatterBehavior10_0];
[dateFormatter setDateFormat:@"%m/%d/%Y %H:%M:%S %z"];
...
NSDate *myDate = [dateFormatter dateFromString:@"06/27/2008 02:51:52
-0500"];
myDate = 06/27/20