I try to add 3 months to the current date, with no success. Here´s my code;
$newdate= date("Y-m-d H:i:s", mktime(date("m")+3));
Thankful for any help!
maybe you should use 'n' in date? like:
$newdate= date("Y-m-d H:i:s", mktime(date("n")+3));
regards
finger
That code substracted 8 hours, in some strange way..
http://www.phpbuilder.com/manual/function.mktime.php
take a look at the parameters of mktime. you have to specify more than one number
cu