I wanted to store current date time (in UTC time zone) in ISO format in Mongo with Groovy as the language. It is pretty straightforward with joda time library. First the code and then some explaination. import org.joda.time.DateTime import org.joda.time.format.DateTimeFormatter import org.joda.…