from datetime import date startDate = date(2021, 7, 19) endDate = date(2021, 11, 12) delta = startDate - endDate print(delta.days)