format

RFC1123 formatted time

Converts to the format "Sun, 06 Nov 1994 08:49:37 GMT", and returns a populated slice of the provided buffer. Note that RFC1123 format is always in absolute GMT time, and a thirty- element buffer is sufficient for the produced output

Throws an exception where the supplied time is invalid

  1. const(T)[] format(T[] output, U t)
    const(T)[]
    format
    (
    T
    U = Time
    )
    (
    T[] output
    ,
    U t
    )
  2. const(T)[] format(T[] output, Time t)

Meta