HttpTimeFormatter.format

Generates a HTTP compliant date/time string (asctime) from t.

  1. mstring format(time_t t)
    struct HttpTimeFormatter
    format
    (
    time_t t
    )
  2. mstring format()
  3. mstring format(mstring dst, time_t t)
  4. mstring format(mstring dst)

Parameters

t time_t

UNIX time value to be formatted as HTTP date/time string

Return Value

Type: mstring

HTTP date/time string from UNIX time value t. Do not modify (exposes an internal buffer).

Throws

Exception if formatting failed (supposed never to happen)

Meta