new date - 1 day javacript code example Example: js date add 1 day let date = new Date(); // add a day date.setDate(date.getDate() + 1);