"Date_Calc - a class for manipulating and comparing calendar dates, as well as 
formulating arrays of
dates for traditional calendar display."

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

Works sweet.

You'd be loking at:

<?
$start = 
Date_Calc::beginOfWeek($day="$day",$month="$month",$year="$year",$format="%Y%m%d");
$end = 
Date_Calc::endOfWeek($day="$day",$month="$month",$year="$year",$format="%Y%m%d");
?>

Cheers,
-J

On Sun, 16 Jun 2002 11:55:04 +1200, Rosen wrote:

> Hi,
> how can I determine dates (start & end ) in one week. I.e. 30th  week is
> between 22.07.2002 and 28.07.2002 .
 

-- 
 Jason Morehouse ([EMAIL PROTECTED])
 Netconcepts LTD, Auckland, New Zealand    
 * Linux: because rebooting is for adding hardware.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to