for example. i want to know what is the weekday of 2002-2-2.
which answer is SATURDAY. thanks.
Hi,
try this:
$day = 2; $month = 2; $year = 2002;
echo date("l", mktime(0,0,0,$month,$day,$year));
firemouse2001