PHP Zoom API Start_time Issue

$tempDate = new DateTime($startTime);
$query = [
            'start_time' => $tempDate->format('Y-m-d\TH:i:s'),
            'topic' => $topic,
            'duration' => $duration,
            'password' => $password,
            'type' => 2,
        ];

//This is to create a basic scheduled meeting.
//$startTime = input dateTime-local value
Magnificent Manatee