(self, name)
return parsedate(data)
Retrieve a date field from a header.

        Retrieves a date field from the named header, returning a tuple
        compatible with time.mktime().
Retrieve a date field from a header.
Retrieve a date field from a header .
def getdate(self, name):
        """Retrieve a date field from a header.

        Retrieves a date field from the named header, returning a tuple
        compatible with time.mktime().
        """
        try:
            data = self[name]
        except KeyError:
            return None
        return parsedate(data)
def getdate ( self , name ) : try : data = self [ name ] except KeyError : return None return parsedate ( data )