python 格式化日期
摘要:
#!/usr/bin/env pythonimport sysimport reimport datetimedd = '2014-08-10'da = datetime.datetime.strptime(dd,'%Y-%m-%d')res = datetime.datetime.strftime... 阅读全文
posted @ 2014-08-19 17:21 a_badegg 阅读(132) 评论(0) 推荐(0) 编辑