I want to retrieve data from mongodb by using date month but error occur how to fix it...…

Welcome to the MongoDB Community @Muhammad_Saif_ur_Rehman !

Please share some more information to help reproduce this issue:

  • version of Mongoose
  • version of MongoDB Node.js driver
  • version of MongoDB server
  • sample document
  • sample query