clojure [clj-time "0.15.2"] clojure (ns my-namespace (:require [clj-time.core :as t])) clojure (t/now) clojure (t/date-time 2022 1 1) clojure (t/year my-date) (t/month my-date) (t/day-of-month my-date) clojure (t/plus my-date (t/days 5)) (t/minus my-date (t/months 2)) clojure (t/format my-date "yyyy-MM-dd") clojure (t/parse my-string "yyyy-MM-dd") clojure (t/interval start-date end-date)


上一篇:
下一篇:
切换中文