I\'ve been playing around storing tweets inside mongodb, each object looks like this:
{ \"_id\" : ObjectId(\"4c02c58de500fe1be1000005\"), \"contributors\" :
Use this code to find the record between two dates using $gte and $lt:
$gte
$lt
db.CollectionName.find({"whenCreated": { '$gte': ISODate("2018-03-06T13:10:40.294Z"), '$lt': ISODate("2018-05-06T13:10:40.294Z") }});