Last active
February 18, 2017 15:39
-
-
Save mmzsource/6ea63ef70d2baa8bc8dd31e0a98ed225 to your computer and use it in GitHub Desktop.
Clojure Boot repl session - Calculate number of weeks between 2 dates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
boot repl | |
(set-env! :dependencies '[[clojure.java-time "0.2.2"]]) | |
(require '[java-time :as t]) | |
(t/time-between (t/local-date 2014 9 27) (t/local-date 2017 2 18) :weeks) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment