📅  最后修改于: 2022-03-11 14:45:54.973000             🧑  作者: Mango
from datetime import date
startDate = date(2021, 7, 19)
endDate = date(2021, 11, 12)
delta = startDate - endDate
print(delta.days)