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.
How can i convert a string of format d.m.yyyy to another format say yyyy-mm-dd
Share
After this, the result is in the
wantedvariable