Level 75
$created_at = Carbon::parse('2020-05-05');
$numberOfDays = now()->diffInDays($created_at);
// or
$numberOfDays = now()->diffInDays($created_at, false);
The 2nd parameter again is optional and indicates if you want the return value to be the absolute value or a relative value that might have a - (negative) sign if the passed in date is less than the current instance. This will default to true, return the absolute value.