답변:
/programming/1296358/subtract-days-from-a-date-in-javascript 에서 답을 찾았습니다.
db.system.profile.find({
"timestamp" : {
$lt: new Date(),
$gte: new Date(new Date().setDate(new Date().getDate()-1))
}
})
db.collection.find(
{$and:
[
{ "status.code":"DELIVERY_PENDING"},
{"status.createdDtm": {$lte: new Date().getTime()-(1*60*60*1000) }}
]
}
)