Good day,
First i saved a document in mongodb from java and for time i passed.
new Date();
so it saved a document like this.
"time" : {
"_id" : ObjectId("5ad330019a04451b1ab8523d"),
"created" : ISODate("2018-04-19T20:12:29.512+0000"),
"lastModified" : null
}
Now i would like to fetch all the documents matching date 2018-04-19 no matter what time it was.
how can i do that please help.