Hi I have a problem with the date function
<?
$theday = date("Y-m-d", time());
echo date((w), $theday);
?>
should print 1 if today is monday, 2 if today is tuesday ...
though it's printing 4 and today is monday !
any idea ?
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

