from datetime import datetime
def someMethod():
currentSecond= datetime.now().second
currentMinute = datetime.now().minute
currentHour = datetime.now().hour
currentDay = datetime.now().day
currentMonth = datetime.now().month
currentYear = datetime.now().year
datetime.now().microsecond
作者:静心_18e1
链接:https://www.jianshu.com/p/dceed7a93381
来源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)