Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
current date in iso 8601 in groovy
new Date().format("yyyy-MM-dd'T'HH:mm:ss'Z'", TimeZone.getTimeZone("UTC"))
Date.parse("yyyy-MM-dd'T'HH:mm:ss'Z'", dateString)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment