Date format and full day description

Discussion in 'iOS Programming' started by skunkio, May 3, 2010.

  1. skunkio macrumors newbie

    Joined:
    Apr 25, 2010
    #1
    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è
     
  2. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #2

Share This Page