Fork me on GitHub
#juxt
<
2021-11-26
>
otfrom15:11:18

hmm... am I missing something, or is .until via java interop the best way to calculate an age with tick?

henryw37416:11:01

between is the fn to calculate time span between 2 dates

otfrom17:11:49

so something like this then?

(tick/units (tick/between #time/date "2024-01-01" #time/date "2042-03-21"));; => {:years 18, :months 2, :days 20}