Discover 1 story with “ISO” Tag.
Store current date time in Mongo in ISO format
4 years ago
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.