I\'m trying to use the mongodump command to dump out a bunch of records created on a specific date. The records include a \"ts\" field which is a MongoDB Date() object.
Extended JSON Format works, as can be found in the documentation (https://docs.mongodb.com/database-tools/mongodump/). Example:
--query '{ "timest": { "$gte": { "$date": "2020-08-19T00:00:00.000Z" } } }'