Solución
solution.tsTypeScript
from datetime import datetime
def days_between(date_from: str, date_to: str) -> int:
# Parsea ambas fechas y retorna la diferencia en días
date1 = datetime.strptime(date_from, "%Y-%m-%d").date()
date2 = datetime.strptime(date_to, "%Y-%m-%d").date()
between = (date2 - date1).days
return between0respuestas