Hitung hari yang tersisa pada tampilan Laravel, hari negatif jika tanggal telah berlalu

//If you want to get the negative values, you would need to pass false as the second parameter of the diffInDays function.

Carbon\Carbon::now()->diffInDays($patient->date_end, false)
  
//The second parameter sets whether you want the absolute difference or not. Default is true, which returns absolute difference.
SAMER SAEID