I have a variable which is holding the output of a datepicker input tag. I want to add 24 hours to it.
As it stands, if I var_dump
the variable it is:
string(10) "dd/mm/yyyy"
How would I go about adding 1 day to it?
I have tried:
$finishdate2 = date('d-m-Y',strtotime($finishdate . "+1 days"));
but I seem to get some weird dates.