<?php $date = new DateTimeImmutable(); $monday = $date->modify('monday this week'); $sunday = $date->modify('sunday this week'); var_dump($monday->format(DateTime::ATOM), $sunday->format(DateTime::ATOM));
You have javascript disabled. You will not be able to edit any code.