Question: how to change date format from dd/mm/yyyy to yyyymmdd 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: