note 19517 deleted from function.date by sniper
| From: | sniper@php.net | Date: | Sat, 11 Oct 2003 16:49:13 +0000 |
| Subject: | note 19517 deleted from function.date by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-58249@lists.php.net to get a copy of this message | ||
Note Submitter: rkoerberATgmxDOTde
----
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)