import time print(time.time()) print(type(round(time.time()*1000))) cts = round(time.time()*1000) print(cts) print(type(time.strftime('%Y%m%d%H%M%S', time.localtime(int(cts/1000)))))