Question: how to convert date format dd/mm/yyyy to yyyy-mm-dd in javascript?
Answer: JavaScript getDate() Method: This method returns the day of the month (from 1 to 31) for the defined date. ...  JavaScript getFullYear() Method: ...  JavaScript getMonth() Method: ...  JavaScript String slice() method: ...  replace() method: