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