Hi everyone 🙂
I'm having somewhat of a problem with dates. I have this bit of code in my script:
$today_ymd = date("Ymd");
$then_ymd = $today_ymd + 2;
I'm obviously trying to get the date of 2 days in the future in YYYYMMDD format. The thing is... I know that won't work as it will simply add 2 to the number, rather than count the days. Does anyone know how I would be able to fix this?