def rfc822now():
    'Creates a string of the current time according to RFC 822.'
    now = datetime.utcnow()
    return email.utils.format_datetime(now)
Creates a string of the current time according to RFC 822.
def rfc822now():
    
    now = datetime.utcnow()
    return email.utils.format_datetime(now)