Laravel 8 Date разница в дни

        $last_date = "2018-01-10 00:00:00";
        $current_date = Carbon::now()->toDateTimeString();

          //NUMBER DAYS BETWEEN TWO DATES CALCULATOR
          $start_date = \Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $last_date);
          $end_date = \Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $current_date);
          $different_days = $start_date->diffInDays($end_date);

Xfantasia