摘要: time模块的方法: 时间戳表示的是从1970年1月1日00:00:00开始按秒计算的偏移量。 struct_time时间元组,共有九个元素组。如下图: time.localtime([secs]): 将一个时间戳转换为当前时区的struct_time。 secs参数如果没有提供,则以当前时间为准, 阅读全文
posted @ 2018-02-07 00:57 neozheng 阅读(899) 评论(0) 推荐(0) 编辑