Kohlenstoff Gleiche Daten

$date1 = Carbon::createFromFormat('m/d/Y H:i:s', '12/01/2020 10:20:00');
$date2 = Carbon::createFromFormat('m/d/Y H:i:s', '12/01/2020 10:20:00'); 
$result = $date1->eq($date2);
Lovely Lemur