I'm not sure this is possible. In the UNIX tradition time has always been
calculated as sun=0,
mon=1, tue=2,...,fri=5, sat=6.
P-
--- Gordon Stewart <[EMAIL PROTECTED]> wrote:
> $timegiven = mktime (0,0,0,$explo[1],$explo[2],$explo[0]);
>
> $w=date("Y-W-w",$timegiven);
>
> Hi, i'm using the above, to get the YEAR, Week of the year, & the
> number of the day - in a week.. for a given date. This works..
>
> http://nz.php.net/date
>
> Not necessary, but fir future enhancement :-
>
> If i wanted to - Is it possible to easily change what day a week starts from ?
> Eg, Saturday to be the start of the week - or Wednesday ?
>
>
> Ive looked at the coding - below, but couldnt see anything - will try
> again after dinner..
> - I guess someone might have wanted to do this before now ?
>
>
>
> --
> G Stewart
> http://groups.yahoo.com/group/groupswap/
> NZ community groups - [EMAIL PROTECTED]
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/HKFolB/TM
--------------------------------------------------------------------~->
Community email addresses:
Post message: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php-list/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/