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