摘要: 在Python中,用三种方式来表示时间,分别是时间戳、格式化时间字符串和结构化时间 获取时间戳:time.time() >如1506388236.216345 获取格式化时间字符串(str f time):time.strftime('%Y-%m-%d %H:%M:%S') >如2017-09-26 阅读全文
posted @ 2019-02-27 16:29 白桦林_HK 阅读(208) 评论(0) 推荐(0) 编辑