note 19517 added to function.date

From: Date: Fri, 01 Mar 2002 15:38:03 +0000
Subject: note 19517 added to function.date
Groups: php.notes 
Request: Send a blank email to php-notes+get-27231@lists.php.net to get a copy of this message
In some countries, the week is starting on Monday. To get the day of week with 0 being Monday and 6 being Sunday, you can use this code: ((date('w') + 6) % 7) -- http://www.php.net/manual/en/function.date.php http://master.php.net/manage/user-notes.php?action=edit+19517 http://master.php.net/manage/user-notes.php?action=delete+19517 http://master.php.net/manage/user-notes.php?action=reject+19517

« previous php.notes (#27231) next »