code/libraries/joomlatools/library/http/response/response.php
public function getLastModified()
    {
        $date = null;

        if ($this->_headers->has('Last-Modified'))
        {
            $value = $this->_headers->get('Last-Modified');
            $date  = new DateTime(date(DATE_RFC2822, strtotime($value)));

            if ($date === false) {
                throw new RuntimeException(sprintf('The Last-Modified HTTP header is not parseable (%s).', $value));
            }
        }

        return $date;
    }
public function getLastModified()
    {
        $date = null;

        if ($this->_headers->has('Last-Modified'))
        {
            $value = $this->_headers->get('Last-Modified');
            $date  = new DateTime(date(DATE_RFC2822, strtotime($value)));

            if ($date === false) {
                throw new RuntimeException(sprintf('The Last-Modified HTTP header is not parseable (%s).', $value));
            }
        }

        return $date;
    }
public function getLastModified ( ) { $ date = null ; if ( $ this -> _headers -> has ( 'Last-Modified' ) ) { $ value = $ this -> _headers -> get ( 'Last-Modified' ) ; $ date = new DateTime ( date ( DATE_RFC2822 , strtotime ( $ value ) ) ) ; if ( $ date === false ) { throw new RuntimeException ( sprintf ( 'The Last-Modified HTTP header is not parseable (%s).' , $ value ) ) ; } } return $ date ; }
Returns the Last-Modified HTTP header as a DateTime instance.

@link http://tools.ietf.org/html/rfc2616#section-14.29

@throws RuntimeException If the Last-Modified header could not be parsed
@return DateTime|null A DateTime instance or NULL if no Last-Modified header exists
Returns the Last - Modified HTTP header as a DateTime instance .