This may be really easy but I can\'t find a PHP function to do this...
OK so
$dow_numeric = date(\'w\');
gives the numeric day of t
This should work:
$dow_numeric = 3; $last_sunday = strtotime('last Sunday'); $dow_text = date('D', strtotime('+'.$dow_numeric.' day', $last_sunday));