javascript create new date string now code example Example: new date with date + 1 var date = new Date(); // add a day date.setDate(date.getDate() + 1);