<?php $dt = new DateTime(); $test = clone $dt; $test->modify('first day'); var_dump($test->format('r')); $test = clone $dt; $test->modify('first day of'); var_dump($test->format('r'));
You have javascript disabled. You will not be able to edit any code.