how to change date format javascript code example Example: change date format javascript var d = new Date("2015/03/25");