I would like to show the name of day in my iPhone application and i don't found the solution. Thanks for help
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)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With