//
$da = Date ("W"), ,
if ($da = = "1") {
echo "Today is Monday";
}else if ($da = = "2") {& nbsp
echo "Today is Tuesday";
}else if ($da = = "3") {
echo "Today is Wednesday";
}else if ($da = = "4") {
Echo "Today is Thursday";
}else if ($da = = "5") {
echo "Today is Friday";
}else if ($da = = "6") {
echo "Today is Saturday. ";
}else if ($da = =" 0 ") {
echo" Today is Sunday ";
}else{
echo" You mistyped!! ";
};
//second notation
$ga = Date ("w");
Switch ($GA) {
Case 1:echo "Today is Monday";
Case 2:echo "Today is Tuesday"; break;
Case 3:echo "Today is Wednesday"; break;
Case 4:echo "Today is Thursday"; break; ;
Case 5:echo "Today is Friday"; break;
Case 6:echo "today is Saturday"; break;
Case 0:echo "Today is Sunday"; break;
D Efault:echo "you entered the wrong!" ";
};
//Third
Echo" Today is Week ". Mb_substr ("Day 123456", Date ("W"), 1, "Utf-8"),
Don't understand can consult old Ant Technical Department 18107823062 same number
PHP judgment is the day of the week solution