Adding a day to the_date()
-
Pardon (what feels to me to be) a newbie question, as I’ve read related threads and can’t seem to find what I’m looking for.
I am helping my friend with his gym’s website and he publishes tomorrow’s workout the night before in the form of a post. The post title shows the date the post was published and it’s generated in his homepage template by:
<?php the_date(‘m/d/Y’); ?>
This poses the problem of the post title reading the date the post was created rather than the date of the workout. I know he could just choose to publish the post the next day, but the point is to make the information available to his members the night before so they may plan their day around it.
So, my question is: how do I modify the php to read the date + 1?
Thanks in advance for any advice!
-Jorge
- The topic ‘Adding a day to the_date()’ is closed to new replies.