title: how can i convert a date like dd-mm-yyyy into ISO date format, to store in a mongoDB
body: <p>In my mean stack app, i have  data on a date basis. In angular side, i used a date picker to get/set the date that the read/write of Data to be handled. The date picker produce date of the form "dd-mm-yyyy". What is the easiest way to convert this into mongodb understandable format, and back.</p>