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