time.localtime([ sec ])sec : 转换为time.struct_time类型的对象的秒数。
time模块
原文:https://www.cnblogs.com/bafenqingnian/p/9604891.html