i want to use this query but not working can you help me
dbm.collection("tasks").remove({ updatedAt: { $lt: anotherDate } })
in database => updatedAt: "Mon Jul 11 16:42:33 GMT+04:30 2022"
updatedAt: "Mon Jul 11 16:42:33 GMT+04:30 2022"
anotherDate:2022-07-11T13:34:26.838Z