PHP Carbon Converter String até a data
Laravel Convert Carbon string to Date
Carbon::createFromFormat('Y-m-d H:i:s', $request->date)->format('d-m-Y')
Yohana Galusi
Laravel Convert Carbon string to Date
Carbon::createFromFormat('Y-m-d H:i:s', $request->date)->format('d-m-Y')
$date = Carbon\Carbon::parse($rawDate);
Carbon::createFromFormat($format, $time, $tz);