主页
Python
Python 日期时间
demo_datetime_strftime_w2
运行 ❯
×
更改方向
保存代码
更改主题
import datetime x = datetime.datetime(2018, 5, 31) print(x.strftime("%W"))
22