public function getRequestExpiryDate($format = null)
    {
        $node = $this->getFirst('//epp:epp/epp:response/epp:resData/domain:trnData/domain:acDate');
        if ($format === null) {
            return $node->nodeValue;
        }

        return date_create_from_format($format, $node->nodeValue);
    }
public function getRequestExpiryDate($format = null)
    {
        $node = $this->getFirst('//epp:epp/epp:response/epp:resData/domain:trnData/domain:acDate');
        if ($format === null) {
            return $node->nodeValue;
        }

        return date_create_from_format($format, $node->nodeValue);
    }
public function getRequestExpiryDate ( $ format = null ) { $ node = $ this -> getFirst ( '//epp:epp/epp:response/epp:resData/domain:trnData/domain:acDate' ) ; if ( $ format === null ) { return $ node -> nodeValue ; } return date_create_from_format ( $ format , $ node -> nodeValue ) ; }
The date and time of a required or completed response. For a pending request, the value
identifies the date and time by which a response is required before an automated
response action will be taken by the server. For all other status types, the value
identifies the date and time when the request was completed.

@param string|null $format format of the date string

@return \DateTime|string
The date and time of a required or completed response . For a pending request the value identifies the date and time by which a response is required before an automated response action will be taken by the server . For all other status types the value identifies the date and time when the request was completed .