Liking cljdoc? Tell your friends :D

oc.lib.time

Functions related to time and timestamps.

Functions related to time and timestamps.
raw docstring

csv-dateclj/s≠

clj
(csv-date)
(csv-date tz)
(csv-date tz)
(csv-date date-time)
(csv-date date-time tz)
(csv-date date-time :guard string? tz)
cljs
(csv-date)
(csv-date date-time)
(csv-date date-time :guard string?)

current-timestampclj/s

(current-timestamp)

ISO 8601 string timestamp for the current time.

ISO 8601 string timestamp for the current time.
raw docstring

epochclj/s

(epoch t)

from-epochclj/s

(from-epoch t)

from-isoclj/s

(from-iso s)

from-millisclj/s

(from-millis t)

hours-from-nowclj/s

(hours-from-now hours)

millisclj/s

(millis t)

now-epochclj/s

(now-epoch)

now-tsclj/s

(now-ts)

past?clj/s

(past? ts)

Use not-after? as shortcut for before? or equal?.

Use not-after? as shortcut for before? or equal?.
raw docstring

timestamp-formatclj/s


to-isoclj/s

(to-iso t)

utc-nowclj/s

(utc-now)

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

× close