This is my query in mongodb
db.order.find ({"ublExtensions.ublExtensions.extensionContent.Metadata
.ModificationTime": "2012-02-04T01:58:27.861Z"});
It is fetching the result only for the particular time zone. The modificationTime is changing on a daily basis. I have a requirement where I need to pick the data which are updated y'day...means (sysdate -1 in sql) one day data.
How can I achieve this in mongodb? Please note the my Date is a String Type and I have a constraint where I can't change that. Someone suggested to use the ISODate.
Please help in resolving this issue.