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?)
source (clj)source (cljs)

csv-date-formatclj/s

source

csv-date-timeclj/s≠

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

csv-date-time-formatclj/s

source

current-timestampclj/s

(current-timestamp)

ISO 8601 string timestamp for the current time.

ISO 8601 string timestamp for the current time.
sourceraw docstring

epochclj/s

(epoch t)
source

format-instclj/s≠

clj
(format-inst format-string
             inst
             :guard
             (fn* [p1__8384#] (instance? org.joda.time.DateTime p1__8384#)))
(format-inst format-string
             inst
             :guard
             (fn* [p1__8385#]
                  (or (jt/zoned-date-time? p1__8385#) (jt/instant? p1__8385#))))
cljs
(format-inst format-string inst)
source (clj)source (cljs)

from-epochclj/s

(from-epoch t)
source

from-isoclj/s

(from-iso s)
source

from-millisclj/s

(from-millis t)
source

hours-from-nowclj/s

(hours-from-now hours)
source

millisclj/s

(millis t)
source

now-epochclj/s

(now-epoch)
source

now-tsclj/s

(now-ts)
source

past?clj/s

(past? ts)

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

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

timestamp-formatclj/s

source

to-isoclj/s

(to-iso t)
source

utc-nowclj/s

(utc-now)
source

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

× close