This is not a duplicate question, but involves a little understanding about time.
I need a solution to the following problem I have a number of specifically produced tim
Convert the date to seconds using strtotime and then just work in seconds.
strtotime
$seconds = strtotime($date); $seconds /= 15; $seconds = round($seconds); $seconds *= 15; $date = date("Y-m-d H:i:s", $seconds);