$day = date('l', strtotime('07/25/2010'));
echo "$day ";
echo date("m/d/Y", strtotime("first $day"));
This prints out Sunday 07/11/2010
$day = date('l', strtotime('07/25/2010'));
echo "$day ";
echo date("m/d/Y", strtotime("last $day"));
This prints out Sunday 07/04/2010
What's going on here? Shouldn't it be 07/04/2010 and 07/25/2010 respectively?