I've got a date:
$date = date_create_from_format(<!--some code-->)
I want to add a day to it like this:
$date->add(+1 day)->format('F jS, Y')
Here, "->add(+1 day)
" is pseudocode for the desired function/operation to add a day to $date
.
Not sure how to implement as I don't know what kind of object $date
is or what procedure to use; i.e. "->(some operation)
" or "somefunction($date)
"