python current time

from time import gmtime, strftime
strftime("%Y-%m-%d %H:%M:%S", gmtime())

https://stackoverflow.com/questions/415511/how-to-get-the-current-time-in-python

你可能感兴趣的:(python current time)