कृपया नीचे प्रयास करें:
db.collection.find({
"$expr": {
"$and": [
{
"$gte": [
{ "$dateFromString": { "dateString": "$date, "format": "%m-%d-%Y" }},
ISODate("2019-05-26T00:00:00Z")
]
},
{
"$lte": [
{ "$dateFromString": { "dateString": "$date", "format": "%m-%d-%Y" }},
ISODate("2019-06-15T23:59:59Z")
]
}
]
}
})