<?php
 //-- AWESOME ideas from http://stackoverflow.com/questions/1897727/get-first-day-of-week-in-php

 //-- monday of current week
 $monday = strtotime('last monday');
 $mondayFormatted = date('m/d/Y',$monday);
 // print $mondayFormatted;
 // exit;

 //-- monday of previous week
 $prevMonday = strtotime('last monday',strtotime('last saturday'));
 $prevMondayFormatted = date('m/d/Y',$prevMonday);
 // print "Monday of previous week: [$prevMondayFormatted]\n";
 // exit;

 //-- Sunday and Saturday of previous week
 $su = strtotime('previous week last sunday');
 $suF = date('m/d/Y',$su);
 $sa = strtotime('last saturday');
 $saF = date('m/d/Y',$sa);
 // print "Sunday of Last Week: [$suF]\n";
 // print "Saturday of Last Week: [$saF]\n";
 // exit;

 //-- Sunday and Saturday based on a given date
 $customDate = strtotime( date( 'm/d/Y', strtotime('01/01/2014') ) );
 $suF = date('m/d/Y', strtotime( 'this week last sunday', $customDate ) );
 $saF = date('m/d/Y', strtotime( 'this week saturday', $customDate ) );
 print "Custom Date: 01/01/2014\n";
 print "Sunday of Custom Week: [$suF]\n";
 print "Saturday of Custom Week: [$saF]\n";

?>