I am trying to fetch data from MongoDB where ((this.Day.toDateString() ==new Date('03/05/2013 01:10:00').toDateString()) but it MongoDB not displaying proper data.
so if anyone have any solution regarding
I am trying to fetch data from MongoDB where ((this.Day.toDateString() ==new Date('03/05/2013 01:10:00').toDateString()) but it MongoDB not displaying proper data.
so if anyone have any solution regarding
If You are using mongo db 3.2 then you can use $eq operator to compare your dates and you can Use Date() to convert your date to sring.