热线电话:13121318867

登录
2019-04-26 阅读量: 602
如何输出指定格式的日期?
from datetime import 
datetime now=datetime.now()
print now.strftime('%Y年%m月%d日')
0.0000
0
关注作者
收藏
评论(0)

发表评论

暂无数据
推荐帖子