<?php $date = new \DateTime('2014-05-12'); var_dump(date('Y-m-d', strtotime('previous Monday ' . $date->format('Y-m-d'))));
You have javascript disabled. You will not be able to edit any code.