NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter setDateFormat:@"EEEE"];
NSString *dayName = [dateFormatter stringFromDate:yourDate];
[dateFormatter release];
You get dayName
in the locale of the user.
(check Unicode standards for date formats samples)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…