用python中的time模块求epoch时间 import time a='1987-06-05 12:31:28' tm=time.strptime(a,'%Y-%m-%d %H:%M:%S') epo_time=time.mktime(tm) Post Views: 450