I am storing dates in Mongo DB using Mongoose, they should be in UTC, but I am seeing this using a Mongo IDE (Studio3T) - I take it that the +0000
does not mean UTC?
"eventDate" : ISODate("2019-12-27T17:01:00.000+0000"),
I am storing dates in Mongo DB using Mongoose, they should be in UTC, but I am seeing this using a Mongo IDE (Studio3T) - I take it that the +0000
does not mean UTC?
"eventDate" : ISODate("2019-12-27T17:01:00.000+0000"),
+0000
means UTC according to ISO 8601. The letter Z
is also possible to indicate UTC time.
Yes,Dude! By default the dates are stored in UTC format in MongoDB. For further information,head over to below links.