(self)
return resp, _parse_datetime(date, None)
Process the DATE command.
        Returns:
        - resp: server response if successful
        - date: datetime object
Process the DATE command.
        Returns:
        - resp: server response if successful
        - date: datetime object
Process the DATE command . Returns : - resp : server response if successful - date : datetime object
def date(self):
        """Process the DATE command.
        Returns:
        - resp: server response if successful
        - date: datetime object
        """
        resp = self._shortcmd("DATE")
        if not resp.startswith('111'):
            raise NNTPReplyError(resp)
        elem = resp.split()
        if len(elem) != 2:
            raise NNTPDataError(resp)
        date = elem[1]
        if len(date) != 14:
            raise NNTPDataError(resp)
        return resp, _parse_datetime(date, None)
def date ( self ) : resp = self . _shortcmd ( "DATE" ) if not resp . startswith ( '111' ) : raise NNTPReplyError ( resp ) elem = resp . split ( ) if len ( elem ) != 2 : raise NNTPDataError ( resp ) date = elem [ 1 ] if len ( date ) != 14 : raise NNTPDataError ( resp ) return resp , _parse_datetime ( date , None )