src/Models/Event.php
public function endDatetime()
    {
        $date = explode('-', $this->end_date);
        $time = explode(':', $this->end_time);
        $end_datetime = Carbon::create($date[0], $date[1], $date[2], $time[0], $time[1]);

        return $end_datetime;
    }
public function endDatetime()
    {
        $date = explode('-', $this->end_date);
        $time = explode(':', $this->end_time);
        $end_datetime = Carbon::create($date[0], $date[1], $date[2], $time[0], $time[1]);

        return $end_datetime;
    }
public function endDatetime ( ) { $ date = explode ( '-' , $ this -> end_date ) ; $ time = explode ( ':' , $ this -> end_time ) ; $ end_datetime = Carbon :: create ( $ date [ 0 ] , $ date [ 1 ] , $ date [ 2 ] , $ time [ 0 ] , $ time [ 1 ] ) ; return $ end_datetime ; }
Get Carbon end datetime.

@return \Carbon\Carbon
Get Carbon end datetime .