Functions for date and time.
Functions for date and time.
(compare-timestamps t1 t2)
Returns a negative number if t1
occurs before t2
, a positive
number if t1
occurs after t2
, and 0 otherwise. t1
and t2
must be ISO 8601 timestamp strings.
Returns a negative number if `t1` occurs before `t2`, a positive number if `t1` occurs after `t2`, and 0 otherwise. `t1` and `t2` must be ISO 8601 timestamp strings.
(compare-timestamps* t1 t2)
Same as compare-timestamps
but assumes t1
and t2
are
already parsed.
Same as `compare-timestamps` but assumes `t1` and `t2` are already parsed.
(parse-timestamp s)
Parse the ISO 8601 timestamp s
.
Parse the ISO 8601 timestamp `s`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close