Hi. I am trying to increment a date by one day, that is already set in a variable ($first_date) in this format 2005-04-02
This is the closest I have got so far:
$first_date = $_GET['first_date'];
date ("Y-m-d", strtotime("$first_date, +1 day"))
But this to my dismay resets $first_date to today’s current date!
I’m sure this is an easy task for many of you guys. But for me; it’s driving me bonkers!
Thanks
Ben