Re: Determine week

From: Date: Sun, 16 Jun 2002 22:20:02 +0000
Subject: Re: Determine week
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-102388@lists.php.net to get a copy of this message
"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 (jm@netconcepts.com) Netconcepts LTD, Auckland, New Zealand * Linux: because rebooting is for adding hardware.

« previous php.general (#102388) next »