Consulta entre Fechas
Para realizar consultas entre fechas
db.getCollection('limpieza').find({
$and: [
{fechahorasupervision: {$gte: new Date("2020-08-01T00:00:00.000Z")}},
{fechahorasupervision: {$lte: new Date("2022-01-17T23:59:59.999Z")}}
]
})
Last updated
Was this helpful?