Can anybody give me some code how I get the date?
NSDateComponents *components = [[NSCalendarcurrentCalendar] component:NSCalendarUnitDay | NSCalendarUnitMonth | NSCalendarUnitYearfromDate:[NSDatedate]];
NSString *day = [components day];
NSString *week = [components month];
NSString *year = [components year];
NSString *date = [NSString stringWithFormat:@"%@.%@.%@",day,week,year];
^^ my code is not working :S
And is there a way that I can get the date of tomorrow, in 1 week and so on...
Thanks :)