📌  相关文章
📜  python 获取两个日期之间的日期 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:54.973000             🧑  作者: Mango

代码示例3
from datetime import date

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