<?php foreach (range(0,8) as $days) { $a1 = new DateTime('2016-03-07 18:02:40'); $a1->modify("+$days days"); var_dump($a1->modify('next week')); }
You have javascript disabled. You will not be able to edit any code.