carbon 2 date difference in day code example
Example: different days in carbon laravel between different dates
$created = new Carbon($survey->created_at);
$now = Carbon::now();
$difference = ($created->diff($now)->days < 1)
? 'today'
: $created->diffForHumans($now);