Is there anyone knows this.. I am new in php..
the date format is => D/M/Y H:M
$date = array (
"6/22/2015 7:14",
"6/22/2015 7:20",
"6/22/2015 7:20",
"6/22/2015 7:21",
"6/22/2015 7:29",
"6/22/2015 7:30",
"6/22/2015 7:30",
"6/22/2015 7:35",
"6/22/2015 7:38",
"6/23/2015 7:40",
"6/23/2015 7:44",
"6/23/2015 7:44",
"6/23/2015 7:46",
"6/23/2015 7:47",
"6/23/2015 7:48"
);
now I want to add(+) 1 whose date is 6/22/2015 and sub(-) whose date is 6/23/2015..........
desired output:
6/22/2015 8:14
6/22/2015 8:20
6/22/2015 8:20
6/22/2015 8:21
6/22/2015 8:29
6/22/2015 8:30
6/22/2015 8:30
6/22/2015 8:35
6/22/2015 8:38
6/23/2015 6:40
6/23/2015 6:44
6/23/2015 6:44
6/23/2015 6:46
6/23/2015 6:47
6/23/2015 6:48
i dont have code yet coZ i dont know where to start.. Please consider me...