Hi
I having issue trying to add 2
months from the date()
function?
Here is my code:
<?php
// current date
$todayDate = date("Y-m-d");
echo "Today: ".$todayDate."<br>";
// Two months from now is Christmas!
echo "strtotime($todayDate) . "+2 month")";
echo "Today is Christmas: strtotime('l dS \o\f F Y', $todayDate)";
?>
Any Suggestions and explanation will help. I appreciate it. Thanks!