HttpTimeFormatter.format

Generates a HTTP compliant date/time string from t and stores it in dst. dst.length must be ResultLength.

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

Parameters

dst mstring

destination string

t time_t

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

Return Value

Type: mstring

slice to valid result data in dst, starting at dst[0]

Throws

Exception if formatting failed (supposed never to happen)

Meta