Liking cljdoc? Tell your friends :D
Clojure only.

days-on-earth.core


calculateclj

(calculate date)

Given a date, return the number of days from that date till today. Input parameter is a map with :year, :month and :day as keywords. Example {:year 1980 :month 1 :day 10} Keep in mind that singe digit numbers should not be prefixed with 0, since in Java, numbers prefixed with a 0 are treated as octal. So January should be represented as 1 and not 01

Given a date, return the number of days from that date till today.
Input parameter is a map with :year, :month and :day as keywords. Example {:year 1980 :month 1 :day 10}
Keep in mind that singe digit numbers should not be prefixed with 0, since in Java, numbers prefixed with a 0 are treated as octal. So January should be represented as 1 and not 01  
sourceraw docstring

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

× close