add seven days to date javascript code example Example: javascript current date add 30 days var future = new Date(); future.setDate(future.getDate() + 30);