I have an ISO 8601 string like so:
Now, I want to push the date forward 24 hours, but in the "Y-m-d H:i:s" format. I experimented with the following:
//$date1 is ISO 8601 string
date("Y-m-d H:i:s", strtotime($date1, '+24 hours'));
But unfortunately that's not working. Am I on the right track or completely wrong?