10. Implementar la función compararTFechas