I have a date in string format, "Mon, 13 Feb 2017 09:30:00 GMT". I am trying to cast it to Carbon timestamp but I couldn't manage how. How can I use the GMT? What is the proper way?
$date = 'Mon, 13 Feb 2017 09:30:00 GMT';
Carbon::createFromFormat('D, d m Y H:i:s', $date)->toDateTimeString());