Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

skunkio

macrumors newbie
Original poster
Apr 25, 2010
28
0
Hi all,
i'm trying to format a date using a DateFormatter.
Inside my view i have a DatePicker and i want format the date with also the long description of the day. This is my actual code:

Code:
NSDateFormatter *df = [[NSDateFormatter alloc] init];
[df setTimeZone: [NSTimeZone timeZoneWithAbbreviation:@"UTC"]];
[df setDateFormat:@"dd-MM-yyyy HH:mm"];

self.selectedDate = [NSString stringWithFormat:@"%@", [df stringFromDate:dtpDate.date]];
	
[df release];

i tryed L, l and didn't find nothing usefull on google about the long day description. Ho can i get the day description before dd?

Ciao,
stè
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.