(t=None)
return "%s, %02d-%s-%04d %02d:%02d:%02d GMT" % (
        DAYS[dt.weekday()], dt.day, MONTHS[dt.month-1],
        dt.year, dt.hour, dt.minute, dt.second)
Return a string representing time in seconds since epoch, t.

    If the function is called without an argument, it will use the current
    time.

    The format of the returned string is like this:

    Wed, DD-Mon-YYYY HH:MM:SS GMT
Return a string representing time in seconds since epoch, t.
Return a string representing time in seconds since epoch t .
def time2netscape(t=None):
    """Return a string representing time in seconds since epoch, t.

    If the function is called without an argument, it will use the current
    time.

    The format of the returned string is like this:

    Wed, DD-Mon-YYYY HH:MM:SS GMT

    """
    if t is None:
        dt = datetime.datetime.utcnow()
    else:
        dt = datetime.datetime.utcfromtimestamp(t)
    return "%s, %02d-%s-%04d %02d:%02d:%02d GMT" % (
        DAYS[dt.weekday()], dt.day, MONTHS[dt.month-1],
        dt.year, dt.hour, dt.minute, dt.second)
def time2netscape ( t = None ) : if t is None : dt = datetime . datetime . utcnow ( ) else : dt = datetime . datetime . utcfromtimestamp ( t ) return "%s, %02d-%s-%04d %02d:%02d:%02d GMT" % ( DAYS [ dt . weekday ( ) ] , dt . day , MONTHS [ dt . month - 1 ] , dt . year , dt . hour , dt . minute , dt . second )