First compile an array for the days of the week, then use the date function to return the days numeric value:
$days = Array();
$days[0] = "Saturday";
$days[1] = "Sunday";
$days[2] = "Monday";
$days[3] = "Tuesday";
$days[4] = "Wednesday";
$days[5] = "Thursday";
$days[6] = "Friday";
$d = date("w");
// the 'date("w")' function shows Sunday as '0' through to Saturday as '6'
$day = $days[$d];
Click here for more info.
Ste