喜欢可以关注【小猪课堂】公众号了解更多内容 datetime.datetime.now().strftime('%Y{y}%m{m}%d{d}').format(y='年', m='月', d='日')