Import Mongodb from csv:
All data should be comma separated and each rows are line separated
mongoimport --db dbname --collection colectionname --type csv --file filename.csv --headerline
To Find the Range of dates
db.softwareInventory.find({ date: { $gte: ISODate("2020-10-16T00:00:00.000Z"), $lt: ISODate("2020-10-16T22:47:55.302Z") } })