Hi All, I am using a springboot application to pull data from mongo collection. App uses spring mongoTemplate query.find() to get the data. One of the attribute in the collection is of type datetime. When that datetime attribute is retrieved into the model class (the field in the model class is of String type), the datetime is getting converted into EST format. However I’d like to get the datetime value in UTC format. Any suggestion on how I can achive this?
Thanks in advance