full-date-and-timeDate and Timeinternet-text-date-and-timehttp-date-and-timeGoTo Top

http-date-and-time   &optional universal-time &key destination => result[Function]

Purpose
Convert a Universal Time value into HTTP/1.1 time-stamp format.

Package   :gbbopen-tools

Module   :gbbopen-tools

Arguments and values

universal-time     A Universal Time (default is nil, which is equivalent to the value returned by (get-universal-time))
destination     Either nil, t, a stream, or a string with a fill pointer (default is nil)
result     A string or nil

Returns
If destination is non-nil, then nil; otherwise, a string.

Description
If universal-time is not supplied or is nil, the current time (as returned by get-universal-time is used.

See also
    brief-date
    brief-date-and-time
    full-date-and-time
    http-date-and-time
    internet-text-date-and-time
    iso8601-date-and-time
    message-log-date-and-time
    very-brief-date

Example

  > (http-date-and-time)
  "Wed, 05 Aug 2009 17:29:26 GMT"
  >


The GBBopen Project


full-date-and-timeDate and Timeinternet-text-date-and-timehttp-date-and-timeGoTo Top