Login / Register


Share Snipplr


Welcome To Snipplr


Everyone's Recent Clojure Snippets Tagged date



« Prev 1 Next »
Better way of generating date in ISO 8601 format (e.g. "2011-12-12T20:50:22+0100"). Needs to require [clj-time.core :as time] and [clj-time.format :as time-format].
0 1090 posted 12 years ago by ef
Return string representing current date in ISO 8601 format, e.g. "2011-12-12T20:50:22+0100". java.util.Calendar and java.text.SimpleDateFormat have to be imported first. NOTICE: Use this instead: http://snipplr.com/view/62060/clojure-iso-8601-curre...
0 1539 posted 12 years ago by ef
« Prev 1 Next »