Hi Pete,

Thanks for this info....

Regards,

Delz
----- Original Message -----
From: "Peter Vertes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 14, 2003 12:05 AM
Subject: Re: Date computation in MySQL & PHP


> On Sat, 2003-09-13 at 02:50, delz wrote:
>
>
> > I want to know how do I use computations on dates in php or mysql like
for
> > example, today is September 13, 2003 (2003-09-13) and I want to get the
date
> > output if I add 5 days from the given date so that my output would be
> > September 18, 2003 (2003-09-18). And if any given day falls on a Sunday,
it
> > will be moved to Monday. I just want to disregard Sunday and want to use
> > Monday to Saturday. Anyone who can help me will be appreciated.
>
>
> Delz,
>
>     Read this article.  I found it very informative when I was looking
> into doing Date Arithmetic with MySQL.
>
> http://www.devshed.com/Server_Side/MySQL/DateArithmetic/
>
> -Pete
>
>
> --
> perl -e 'print pack("H*", "70766572746573406E79632E72722E636F6D0A")'
>



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to