How to Filter Collection by Date Range in MongoDB Compass?
< 1 min readWhile using MongoDB Compass, you can easily filter the documents by date ranges using a query object. Let’s assume your field name is timestamp and is stored as an ISODate (MongoDB Date type), the filter would look like the following. Explanation: You can also directly pass ISODate to in place of $date, so the new…
