📜  jupyter 今天日期 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:05.134000             🧑  作者: Mango

代码示例1
from datetime import date
today = date.today().strftime('%Y-%m-%d')
print(today)   # '2021-05-03'