#e1.5 print_time
#coding=utf-8
from datetime import datetime
now=datetime.now()
print(now)
now.strftime('%x')
#没有print,不会输出相应的值,可能是版本不同
print(now.strftime('%x'))
print(now.strftime('%X'))
#e1.5 print_time
最新推荐文章于 2021-03-25 10:37:22 发布