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