how to change date format from mm/dd/yyyy to yyyy/mm/dd in javascript code example
Example: javascript convert date from mm/dd/yyyy to yyyymmdd
var yourdate = date.split("/").reverse().join("-");
var yourdate = date.split("/").reverse().join("-");