String date to javascript date: Parse date
<p>I want to parse dates (string date format to javascript date format),  but I have various string date format like <code>YYYY-MM-DD</code>, <code>DD-MM-YYYY</code> and <code>'DD/MM/YYYY'</code> and so..</p>

<p>Is there any generic procedure or way to convent from these string date format to javascript date format?</p>
