I'm having 2 different dates with less than 24 hours difference. When I try to get difference in days I get 0
$end = 2022-09-07 02:20:47
$now = 2022-09-06 16:00:00
$diffDays = $end ->diffInDays($now , false); // return 0
$diffDays = $now->diffInDays($end, false); // return 0
How to make detect that this is another day and should return diffInDays as 1 not 0