Use mysql's Date Functions. works like magic :)
Good Luck,
 Ammar

"Merlin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi there,
>
> I am trying to add one month to a given date. Somehow I am lost
> inbetween mktime, date and unix timestamps ;-(
>
> Can anybody give me a hint on that?
>
> The date format I do have is: 2003-10-19
>
> Guess this does not work:
> $ptm = '2003-10-19';
> $ptm = 1 +  mktime('YmdHis',$ptm);
>
> Thanx for any help,
>
> Merlin

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

Reply via email to