On Nov 24, 2014, at 8:11 PM, ted mosby <
tedro...@gmail.com> wrote:
> I want to add 7 days to current date, can anyone guide how this can be achieved as am a newbie to clojure ?
Assuming you have clj-time’s dependency in your project.clj, you can do this:
user=> (require '[clj-time.core :as t])
nil
user=> (t/plus (t/now) (t/days 7))
#<DateTime 2014-12-04T00:12:07.312Z>
Sean Corfield -- (904) 302-SEAN
An Architect's View --
http://corfield.org/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)