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