I am trying to convert time between current time to UTC and UTC to current time zone.
Here is what I have done:
$schedule_date = new DateTime($trigge
Create the date using the local timezone, then call DateTime::setTimeZone() to change it.
DateTime::setTimeZone()