現在の日付に基づいて明日の日付を取得しようとしています。正しい文字列を取得しましたが、その日を分離するにはどうすればよいですか?
NSDateComponents *comps = [[NSDateComponents alloc] init];
[comps setDay:1];
NSDate *tommorrow = [cal dateByAddingComponents:comps toDate:[NSDate date] options:0];
[comps release];
NSLog(@"%@", tommorrow);
次の文字列を返します。2011-10-01 15:07:07 +0000