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:
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è
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è