<?php $datetime = new \DateTime('2016-10-01'); while ($datetime->format('m') === '10') { $datetime->add(new \DateInterval('P1D')); var_dump($datetime->format('l')); }
You have javascript disabled. You will not be able to edit any code.