src/ORM/FieldType/DBDate.php
public function Rfc2822()
    {
        $formatter = $this->getInternalFormatter();
        $formatter->setPattern('y-MM-dd HH:mm:ss');
        return $formatter->format($this->getTimestamp());
    }
public function Rfc2822()
    {
        $formatter = $this->getInternalFormatter();
        $formatter->setPattern('y-MM-dd HH:mm:ss');
        return $formatter->format($this->getTimestamp());
    }
public function Rfc2822 ( ) { $ formatter = $ this -> getInternalFormatter ( ) ; $ formatter -> setPattern ( 'y-MM-dd HH:mm:ss' ) ; return $ formatter -> format ( $ this -> getTimestamp ( ) ) ; }
Return date in RFC2822 format

@return string
Return date in RFC2822 format