you can use the MySql's function:

DATE_ADD(datefield, INTERVAL 3 MONTH)

"Mindhunter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I am reading a date from an input in format 'DD-MM-YYYY' ex. 10-11-2001.
> Now I want to add 3 months to the date.  I have tested mktime and strftime
> etc and no matter what I do I get the year as 1970.  (Systemdate works
> fine).  How would I go about adding 3 months to a date in that format?
>
> Thanks
> MH
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to