db.getCollection('PmsPushLog').find({pmsName:"jinjiang",createTime:{"$gt":new Date("2016-12-05T12:07:00"),"$lt":new Date("2016-12-05T13:09:00")}})
db.getCollection('PmsPushLog').find({pmsName:"jinjiang",createTime:{"$gt":new Date("2016-12-05T12:07:00"),"$lt":new Date("2016-12-05T13:09:00")}})
本文标题:mongodb查询使用本地日期
本文链接:https://www.haomeiwen.com/subject/dufrixtx.html
网友评论