<?php $URLdate = "2016-03-22"; $URL = date("Y_m_d",strtotime("last Monday", strtotime($URLdate))) . '.html'; echo $URL;
You have javascript disabled. You will not be able to edit any code.