php carbone convertit la chaîne à ce jour
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);