📌  相关文章
📜  python 计算日期之间的天数 - Python 代码示例

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

代码示例2
from datetime import date

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