how to add a day in a date? Noob question

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
bulsecoip
Forum Newbie
Posts: 6
Joined: Thu Jun 26, 2008 12:37 am

how to add a day in a date? Noob question

Post by bulsecoip »

hi, in new in php, i dont now how to add a day in a date. please help me. thnx
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

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

Post 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");
Post Reply