Why is lDateFormatted nil on iPhone simulator 3.1.2 after executing
this piece of code?

     NSString *lDateString = @"Wed, 17 Feb 2010 16:02:01";
     NSDateFormatter* dateFormatter = [[[NSDateFormatter alloc] init]
autorelease];
     [dateFormatter setDateFormat:@"EEE, dd MMM yyyy hh:mm:ss"];
     NSDate *lDateFormatted = [dateFormatter dateFromString: lDateString ];

Any ideas appreciated, Thanks
Kristof
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to