ring.util.time documentation

Functions for dealing with time and dates in HTTP requests.

format-date

added in 1.2

(format-date date)

Format a date as RFC1123 format.

view source

parse-date

added in 1.2

(parse-date http-date)

Attempt to parse a HTTP date. Returns nil if unsuccessful.

view source