Use
$day=strftime("%A");
# echo $day prints Monday
Heres another way to use it, if you want to build up a text string
$day=strftime("Today is %A the %e %B, thats day number %j of the year.");
echo $day;
#prints: Today is Monday the 4 September, thats day number 247 of the year.
This can also be useful if you want the weekday as the number of the week.
%u - weekday as a number (1 to 7), Monday=1. Warning: In Sun Solaris Sunday=1
But as the warning says in some countries the first day of the week is Sunday, while in others its Monday. As far as i know Sunday is the first day in North America and Monday in Europe, not sure about the rest. But im a bit fuzzy on that subject.