src/Carbon/Traits/Difference.php
public function diffInRealHours($date = null, $absolute = true)
    {
        return (int) ($this->diffInRealSeconds($date, $absolute) / static::SECONDS_PER_MINUTE / static::MINUTES_PER_HOUR);
    }
public function diffInRealHours($date = null, $absolute = true)
    {
        return (int) ($this->diffInRealSeconds($date, $absolute) / static::SECONDS_PER_MINUTE / static::MINUTES_PER_HOUR);
    }
public function diffInRealHours ( $ date = null , $ absolute = true ) { return ( int ) ( $ this -> diffInRealSeconds ( $ date , $ absolute ) / static :: SECONDS_PER_MINUTE / static :: MINUTES_PER_HOUR ) ; }
Get the difference in hours using timestamps.

@param Carbon|\DateTimeInterface|string|null $date
@param bool                                  $absolute Get the absolute of the difference

@return int
Get the difference in hours using timestamps .