主页
Python
Python 日期时间
demo_datetime_strftime
运行 ❯
×
更改方向
保存代码
更改主题
import datetime x = datetime.datetime(2018, 6, 1) print(x.strftime("%B"))
June