js creating date adds one day on date code example Example: js date add 1 day let date = new Date(); // add a day date.setDate(date.getDate() + 1);