练手——用Python写的时间戳转换为北京时间的小工具
摘要:#北京时间需加上8小时bj = 8*3600def time_stamp(times): #一天总秒数 nonDaySeconds = 24*3600 leapmonths = [31,29,31,30,31,30,31,31,30,31,30,31] nonleapmonths = [31,28,
阅读全文
posted @ 2018-07-09 15:31

浙公网安备 33010602011771号