📜  python 获取下周日期 - Python 代码示例

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

代码示例3
import datetime
from dateutil.relativedelta import relativedelta
 
week = 25
year = 2021
date = datetime.date(year, 1, 1) + relativedelta(weeks=+week)
print(date)