Hey If I give php the month and day, how can I get it to figure out which day of the week that date is?
[code=php] $date = '2007/08/30'; $weekday = date('l', strtotime($date)); // note: first arg to date() is lower-case L [/code]
echo date('N', strtotime(date("Y-m-d"))); //for current date echo date('N', strtotime("2010-08-09")); // for given date[/QUOTE]
Help @novemberGrey spread the word by sharing this article on Twitter...