import time
t1=1502849807599
t2=1502849836663
time_local1=time.localtime(t1/1000)
print time_local1
dt1=time.strftime(‘%Y-%m-%d %H:%M:%S‘,time_local1)
time_local2=time.localtime(t2/1000)
dt2=time.strftime(‘%Y-%m-%d %H:%M:%S‘,time_local2)
print dt1
print dt2
时间: 2024-10-25 06:54:55