[]clojars
A Clojure library for getting date based information.
Using the date-utils library.
See Clojars for adding this library to various project types (lein, boot, deps.edn, etc).
In the REPL
(require '[date-utils.core :as date])
In your application
(ns my-app.core
(:require [date-utils.core :as date]))
A few usage examples.
;; Get the current date in a date object.
(date/now)
;; Convert a yyyy-MM-dd string to a date object.
(date/str->date "2020-01-03")
;; Days left until the end of the year.
(date/days-left)
Can you improve this documentation? These fine people already did:
Bill Howe & wdhoweEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close