獲取秒級時間戳和毫秒級時間戳
import time
import datetime
t = time.time()
print (t) #原始時間數據
print (int(t)) #秒級時間戳
print (int(round(t * 1000))) #毫秒級時間戳
nowTime = lambda:int(round(t * 1000))
print (nowTime()); #毫秒級時間戳,基於lambda
print (datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')) #日期格式化
