'Set delivery date of message, in seconds since the epoch.'

def set_date(self, date):

    try:
        self._date = float(date)
    except ValueError:
        raise TypeError(("can't    convert    to    float:    %s" % date))
