js date add 1 day
snippet in javascript

js date add 1 day

user9706

let date = new Date();
// add a day
date.setDate(date.getDate() + 1);