Skip to main content
Formatting the code
Source Link

db.collection.find( {$and: [ { "status.code":"DELIVERY_PENDING"}, {"status.createdDtm": {$lte: new Date().getTime()-(16060*1000) }} ]

db.collection.find(
        {$and: 
                [
                { "status.code":"DELIVERY_PENDING"},
                {"status.createdDtm": {$lte: new Date().getTime()-(1*60*60*1000) }}
                ]
            
        }
        )

db.collection.find( {$and: [ { "status.code":"DELIVERY_PENDING"}, {"status.createdDtm": {$lte: new Date().getTime()-(16060*1000) }} ]

    }
    )
db.collection.find(
        {$and: 
                [
                { "status.code":"DELIVERY_PENDING"},
                {"status.createdDtm": {$lte: new Date().getTime()-(1*60*60*1000) }}
                ]
            
        }
        )
Source Link

db.collection.find( {$and: [ { "status.code":"DELIVERY_PENDING"}, {"status.createdDtm": {$lte: new Date().getTime()-(16060*1000) }} ]

    }
    )