In mongodb I have a date field with format like this
"accessedAt" : "04-25-2018T21:12:53"
And I am not sure how to query it, I tried
db.collection.find({"accessedAt": {"$eq": new Date("04-25-2018T21:12:53")}})
db.collection.find({"accessedAt": {"$eq": ISODate("04-25-2018T21:12:53")}}).
Want to retrieve the all the documents that equals today date. Could someone please help me?