src/Guzzle/Http/Message/Response.php
public function calculateAge()
    {
        $age = $this->getHeader('Age');

        if ($age === null && $this->getDate()) {
            $age = time() - strtotime($this->getDate());
        }

        return $age === null ? null : (int) (string) $age;
    }
public function calculateAge()
    {
        $age = $this->getHeader('Age');

        if ($age === null && $this->getDate()) {
            $age = time() - strtotime($this->getDate());
        }

        return $age === null ? null : (int) (string) $age;
    }
public function calculateAge ( ) { $ age = $ this -> getHeader ( 'Age' ) ; if ( $ age === null && $ this -> getDate ( ) ) { $ age = time ( ) - strtotime ( $ this -> getDate ( ) ) ; } return $ age === null ? null : ( int ) ( string ) $ age ; }
Calculate the age of the response

@return integer
Calculate the age of the response