You can use Date_Calc class

http://www.phpinsider.com/php/code/Date_Calc/



----- Original Message ----- 
From: "Don Read" <[EMAIL PROTECTED]>
To: "Matt "TrollBoy" Wiseman" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, June 29, 2001 10:19 PM
Subject: RE: [PHP] Week Number


> 
> On 28-Jun-01 Matt \"TrollBoy\" Wiseman wrote:
> > Does know of anyway to get PHP to return the week number?  
> > As in there are 52 weeks in a year and this is week x?
> 
> don't bet on it.
> 
> > If there is no internal feature, perhaps something built into PHPLib?
> 
> date('z') / 7;
> strftime('%U %V %W');
> 
> Regards,
> -- 
> Don Read                                       [EMAIL PROTECTED]
> -- It's always darkest before the dawn. So if you are going to 
>    steal the neighbor's newspaper, that's the time to do it.
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to