Okay, I'm sick of playing with this. Break it to me, what's up? This compiles fine, but I can't seem to get the date formatter to work. That NSLog displays nothing.
Code:
//create formatter and format
NSDateFormatter *dtsFormatter = [[[NSDateFormatter alloc] init] autorelease];
[dtsFormatter setDateFormat:@"%j"];
//run the string through the formatter
NSDate *testDate = [NSDate date];
NSString *formattedDate = [dtsFormatter stringFromDate:testDate];
NSLog(formattedDate);