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
It's not popular, but there's actually a function jddayofweek for this in PHP. You can call it with the second parameter as 1 to get full gregorian week day name or 2 for the abbreviated name.
e.g. jddayofweek(2, 2); #returns Wed
Note that for this function, numbers start at Monday. So Monday=0, Tuesday=1, ...