<?php $dateTime = new DateTime('2012-05-15'); $monday = clone $dateTime->modify(('Sunday' == $dateTime->format('l')) ? 'Monday last week' : 'Monday this week'); print_r($monday);
You have javascript disabled. You will not be able to edit any code.