Clojure time helpers
Add it to your deps.edn
coast-framework/time {:mvn/version "1.0.0"}
Everything is centered around epoch/milliseconds and the java.time apis
(ns your-project
(:require [time.core :as time]))
(time/now) ; => prints the current # of seconds since epoch
(time/ms [2019 01 01 0 0 0]) ; => milliseconds from date/time
; here's a more complete example of going from (now) to zoned date time to a formatted string
(-> (time/now)
(time/zoned)
(time/fmt)) ; => "01/01/2019 00:00:00"
There are more helper functions, but the docs are thin, use the source, Luke.
MIT
Do it. I dare you.