To get the current instant:
(t/instant)
(t/now)
tick’s default convention is java.time.Instant
but caters for projects that use
java.util.Date
by the conversions above. It is recommended when using tick to
keep as an instant for as long as possible.
To get the current instant:
(t/instant)
(t/now)
Create a specific instant:
(t/instant "2000-01-01T00:00:00.001")
Convert inst to and from instant:
(t/instant (t/inst))
(t/inst (t/instant))
Can you improve this documentation? These fine people already did:
Johanna Antonelli & Malcolm SparksEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close