Mongodb Time Query Problem?

  mongodb, question

The query time in mongodb, such as how to query the data of after 2017-9-1.

When storing time data, save(new Date ()) is in this form, but after storing, it will be 8 hours less than your current time, because it is Greenwich time, and then find ({‘time’ {$ GTE: isodate (“2017-9-01t00-00-00z”)}}) when querying)