This commit is contained in:
Marcos Lopez 2024-02-02 13:48:31 +01:00
parent 387b4dc318
commit 958814b055

View File

@ -194,14 +194,8 @@
setValue('resultado', mensaje);
}
function difFechasDias(fechaIni, fechaFin) {
const dias = Math.ceil((new Date(fechaFin) - new Date(fechaIni)) / (1000 * 60 * 60 * 24));
return dias;
}
function limpiarForm() {
document.getElementById("formAlquiler").reset();
}
const difFechasDias = (fechaIni, fechaFin) => Math.ceil((new Date(fechaFin) - new Date(fechaIni)) / (1000 * 60 * 60 * 24));
const limpiarForm = ()=> document.getElementById("formAlquiler").reset();
</script>
</body>