📅  最后修改于: 2022-03-11 14:45:52.696000             🧑  作者: Mango
from datetime import datetime
def currenttime():
now = datetime.now()
dt_string = now.strftime("%d/%m/%Y %H:%M:%S")
return dt_string