<?php //echo strtotime('monday this week', time()); $thisWeek = new DateTime(); $dayOfWeek = ((int)$thisWeek->format('N'))-1; $thisWeek->modify("-$dayOfWeek days"); var_dump($thisWeek->format('d'));
You have javascript disabled. You will not be able to edit any code.