美文网首页JAVA技术文章
mongodb查询使用本地日期

mongodb查询使用本地日期

作者: rejoice001 | 来源:发表于2017-12-06 21:55 被阅读8次
    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