how to compare two dates in laravel carbon code example Example: carbon compare same date $date1->toDateString() == $date2->toDateString()