摘要: 工作中遇到了很多需要时间转换的时候,记录一下,也不用每次都查看啦 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) 编辑