会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
小芳sherry
博客园
首页
新随笔
联系
管理
订阅
2016年3月29日
time时间格式输出转换
摘要: 工作中遇到了很多需要时间转换的时候,记录一下,也不用每次都查看啦 1.日期格式化 我用time模块比较多,也可以使用datetime.datetime模块 1)str转date型 2)date型转str 3)timestamp转date 4)date转timestamp 2.日期加减 在dateti
阅读全文
posted @ 2016-03-29 16:14 小芳sherry
阅读(2714)
评论(0)
推荐(0)
编辑
公告