Hi
Here is a messy solution, but I think it does what you want using strtotime()
(well worth looking up in the manual :)
";
?>
Tom
At 02:55 AM 16/06/2002 +0300, 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 .
>
n Holmes...
>
>
> > -Original Message-
> > From: Rosen [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, June 15, 2002 7:55 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP] Determine week
> >
> > Hi,
> > how can I determine dates (start & end )
d you'll have the start of the week. 6 minus the result of date('w'),
added to the day component of mktime(), will give you the end...
HTH,
---John Holmes...
> -Original Message-
> From: Rosen [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, June 15, 2002 7:55 PM
&
Hi,
how can I determine dates (start & end ) in one week.
I.e. 30th week is between 22.07.2002 and 28.07.2002 .
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
4 matches
Mail list logo