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