Return to Snippet

Revision: 47213
at June 2, 2011 21:54 by paki


Initial Code
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter setDateFormat:@"EEEE"];
NSString *dayName = [dateFormatter stringFromDate:inDate];
//Optional - get first 3 letters of days name
dayName = [dayName substringToIndex:3];
[dateFormatter release];

Initial URL


Initial Description


Initial Title
Get days name from NSDate

Initial Tags


Initial Language
Objective C