Page 1 of 1

how to add a day in a date? Noob question

Posted: Thu Oct 30, 2008 10:33 pm
by bulsecoip
hi, in new in php, i dont now how to add a day in a date. please help me. thnx

Re: how to add a day in a date? Noob question

Posted: Fri Oct 31, 2008 4:33 am
by onion2k
Do you mean you want to find the date of the day after anther date? Eg...

Code: Select all

$date = strtotime("2008-10-31 +1 day");