摘要: python中datetime模块非常好用,提供了日期格式和字符串格式相互转化的函数strftime/strptime 1、由日期格式转化为字符串格式的函数为: datetime.datetime.strftime() 2、由字符串格式转化为日期格式的函数为: datetime.datetime.s 阅读全文
posted @ 2017-11-13 11:54 桑卡 阅读(16479) 评论(0) 推荐(1) 编辑