question on which day is the first day of the week
| From: | 以琳書房 | Date: | Thu, 11 Dec 2003 01:42:33 +0000 |
| Subject: | question on which day is the first day of the week | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-172420@lists.php.net to get a copy of this message | ||
Dear Sir,
>
> In the computer's memory, I find out that the first day of the week is Monday. But
> actually, the first day of the week is Sunday, not Monday. When I try to use the date function to
> number the week, I find some difficulty. For example, the second week of 2004 should be January 11
> to 17, whereas Jan 11 is Sunday and 17 is Saturday. But in the computer, the 2nd week is January 12
> to 18. It confuses me. How can readjust the date function to make each week start with Sunday,
> instead of Monday?
thank you