<?php $test = date('l'); $test = ''; if($test = "Sunday"){ $end = strtotime('Sunday last week'); }else{ $end = strtotime('Sunday this week'); } echo $end;
You have javascript disabled. You will not be able to edit any code.