Liking cljdoc? Tell your friends :D

date-utils

Build Status [Clojars Project]clojars Clojure version

A Clojure library for getting date based information.

Getting Started

Using the date-utils library.

Installation

See Clojars for adding this library to various project types (lein, boot, deps.edn, etc).

Include the Library

In the REPL

(require '[date-utils.core :as date])

In your application

(ns my-app.core
  (:require [date-utils.core :as date]))

Use the Library

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 & wdhowe
Edit on GitHub

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

× close