I have an array which contains different dates
NSLog(@"Array of dates contains %@", [_dates valueForKey:@"date"]);
Array of dates contains (
"2015-03-22 08:45:00 +0000",
"2015-03-22 19:00:00 +0000",
"2015-03-23 12:15:00 +0000",
"2015-03-23 13:30:00 +0000",
"2015-03-24 07:30:00 +0000",
"2015-03-24 13:30:00 +0000",
"2015-03-25 08:45:00 +0000",
"2015-03-25 09:00:00 +0000",
"2015-03-25 09:30:00 +0000",
"2015-03-26 08:00:00 +0000",
"2015-03-26 10:00:00 +0000",
"2015-03-27 09:00:00 +0000",
"2015-03-27 19:00:00 +0000",
"2015-03-28 08:45:00 +0000"
)
I want to get from this array another array, which contains just (2015-03-22, 2015-03-23, 2015-03-24
)
Please help me solve this problem