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