import datetime a = datetime.datetime.now() print(a)
import time time.strftime('%Y-%m-%d-%H-%M-%S',time.localtime(time.time()))
import datetime a = datetime.datetime.now() print(a)
import time time.strftime('%Y-%m-%d-%H-%M-%S',time.localtime(time.time()))