Swat/SwatDate.php
public function addHours($hours)
    {
        $hours = (int) $hours;
        $interval = new DateInterval('PT' . abs($hours) . 'H');

        if ($hours < 0) {
            $interval->invert = 1;
        }

        return $this->add($interval);
    }
public function addHours($hours)
    {
        $hours = (int) $hours;
        $interval = new DateInterval('PT' . abs($hours) . 'H');

        if ($hours < 0) {
            $interval->invert = 1;
        }

        return $this->add($interval);
    }
public function addHours ( $ hours ) { $ hours = ( int ) $ hours ; $ interval = new DateInterval ( 'PT' . abs ( $ hours ) . 'H' ) ; if ( $ hours < 0 ) { $ interval -> invert = 1 ; } return $ this -> add ( $ interval ) ; }
Adds the specified number of hours to this date

@param integer $hours the number of hours to add.

@return this object on success or false on failure.
Adds the specified number of hours to this date