I have a date which is:
$firstDay = "'" . date('m-d', easter_date(date('Y'))) . "'";
Output of $firstDay
is: '04-16'
. Now I need to create a second variable and add 1 day to the $firstDay
variable. How should I do that? I red that I can do with $date->modify()
, I'm trying like so:
$secondDay = $firstEasterDay->modify('+1 day');
But this doesn't work and I got an error.
Thanks for any help.