js new Date() + 1 site:stackoverflow.com code example Example: get current date + 1 js var date = new Date(); date.setDate(date.getDate() + 1);