Liking cljdoc? Tell your friends :D

cljs-time.format


formattercljs

(formatter fmts)
(formatter fmts dtz)

Returns a custom formatter for the given date-time pattern.

Returns a custom formatter for the given date-time pattern.
sourceraw docstring

formatterscljs

source

parsecljs

(parse fmt s)

Returns a DateTime instance in the UTC time zone obtained by parsing the given string according to the given formatter.

Returns a DateTime instance in the UTC time zone obtained by parsing the
given string according to the given formatter.
sourceraw docstring

parsercljs

(parser fmt)
source

show-formatterscljs

(show-formatters & {:keys [date-like] :or {date-like (time/now)}})
source

unparsecljs

(unparse fmt dt & {:keys [tz]})

Returns a string representing the given DateTime instance in UTC and in the form determined by the given formatter.

Returns a string representing the given DateTime instance in UTC and in the
form determined by the given formatter.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close