Rupesh Agrawal
asked on
Update the MST date Format to UTC date format for records of a period.
In MongoDb collection a DateTime field is stored in MST dateTime format for over 1 millions of record for a older record and now new records in utc dateTime format,
Is there any cost effective query to update the date property in collections for those old recordsin MST dateTime
(update the registered date format from MST to UTC format i.e. update time + 7:00 hr of each of these record)? We have MongoDb 3.3 version.
Is there any cost effective query to update the date property in collections for those old recordsin MST dateTime
(update the registered date format from MST to UTC format i.e. update time + 7:00 hr of each of these record)? We have MongoDb 3.3 version.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
It would help if the date of entry, or some sequence number, would be part of the Key, then you can at least start with the records from a certain date....
The best thing that could happen if the timezone is mentioned in all time stamps, than it doesn't matter.