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