convert "m.d.yyyy" to "yyyy-mm-dd" using javascript
<p>How can i convert a string of format "d.m.yyyy" to another format say "yyyy-mm-dd" using javascipt?
I have tried using new Date('9.5.1989').but its not working.</p>
