Created
July 29, 2014 08:28
-
-
Save ruseel/f64448ed92cb45086d1b to your computer and use it in GitHub Desktop.
parse ISO8601 with clj-time
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require '[clj-time.format :as f]) | |
(def x "2014-07-01T14:01:03+09:00") | |
(f/parse x) | |
(f/parse (f/formatters :date-time-no-ms) x) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment