import time print ("time.time(): %f " % time.time()) print (time.localtime( time.time())) print (time.asctime( time.localtime(time.time())))