Convert to date MongoDB via mongoimport
I have downloaded huge chunks of data in the format in csv. I am using mongoimport to enter the data into MongoDB for processing. How do I get the date into date format recognized by MongoDB? sample data with header Date, Open Price, High Price, Low Price, Last Traded Price , Close Price, Total Traded Quantity, Turnover (in Lakhs) 04-Apr-2014,901,912,889.5,896.75,892.85,207149,1867.08 03-Apr-2014,908,918,897.65,900,900.75,156260,1419.9 02-Apr-2014,916,921.85,898,900.7,900.75,175990,1591.97 Salvador Dali As far as I know, there is no way to do this with mongoimport . But this is achievable by