Skip to content

Instantly share code, notes, and snippets.

@minimal
Created September 21, 2016 13:37
Show Gist options
  • Save minimal/b79f50fe6cdd2f6da9698c4a47599afe to your computer and use it in GitHub Desktop.
Save minimal/b79f50fe6cdd2f6da9698c4a47599afe to your computer and use it in GitHub Desktop.
ISO now date string in java 8 with clojure
(import
'[java.time ZonedDateTime]
'[java.time.format DateTimeFormatter])
(.. (ZonedDateTime/now) (format DateTimeFormatter/ISO_INSTANT))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment