Convert String date YYYY-MM to date in Javascript : <p>I have a date as a String like : <code>2015-12</code> for december 2015.</p>

<p>I would like to convert this date to get this date in milliseconds in javascript. (From the first day of the month)</p>

<p>How can i do it ?</p>
