How to convert the String to expected date format in javascript?
<p>I have the String 08082012, now i need to convert this into expected date format in js/jquery, for example the format is M/d/y. So result will be 08/08/2012.</p>

<p>Can you guys suggest me the possible ways to achieve?
Thanks in advance.</p>
