SyntaxFix
Write A Post
Hire A Developer
Questions
This worked for me while searching for value less than or equal than now:
db.collectionName.find({ "dt": { "$lte" : new Date() + "" } });