Can I get the day of a week when given the date of the day? Such as, I am given "March 11th, 2002" how could I know it's a Monday or Tuesday or ...?
Thanks
How are you given the date?
You will need to use the date function and the strtotime function.
eg
<? $date_in="march 11th 2002"; $ts=strtotime($date_in); echo "the date ".date("jS M Y", $ts)." is a ".date("l", $ts) ?>
Mark.