[Solved] How to convert NSString/NSDate to Monday 25 February [closed]


Use the class NSDateFormatter to format a date string:

NSDateFormatter *dateFormatter=[NSDateFormatter new];
[dateFormatter setDateFormat:@"EEEE dd MMMM"];

NSLog(@"Date : %@", [dateFormatter stringFromDate:[NSDate date]]);

2

solved How to convert NSString/NSDate to Monday 25 February [closed]