const dateFilter = asyncHandler(async (req, res) => { const month = 7; const day = 13; const feedbacks = await Feedback.find({ $expr: { $or: [ { $and: [ { $eq: [{ $month: "$birthday" }, month] }, { $eq: [{ $dayOfMonth: "$birthday" }, day] }, ], }, { $and: [ { $eq: [{ $month: "$anniversary" }, month] }, { $eq: [{ $dayOfMonth: "$anniversary" }, day] }, ], }, ], }, }); res.send(feedbacks); });