let fecha = new Date(); fecha.setDate(fecha.getDate() + 10); return fecha.toLocaleDateString();
let fechaActual = new Date(); let fechaMasDiez = new Date(fechaActual); fechaMasDiez.setDate(fechaMasDiez.getDate() + 10); let options = { day: '2-digit', month: '2-digit', year: 'numeric' }; let fechaTextoDiez = fechaMasDiez.toLocaleDateString('es-ES', options); let fechaMasQuince = new Date(fechaActual); fechaMasQuince.setDate(fechaMasQuince.getDate() + 15); let fechaTextoQuince = fechaMasQuince.toLocaleDateString('es-ES', options); return `${fechaTextoDiez} y el ${fechaTextoQuince}`;