📜  python day from datetime - Python 代码示例

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

代码示例3
>>> import datetime
>>> today = datetime.datetime.now()
>>> print today
2009-03-06 15:37:02.484000
>>> today.strftime('%j')
'065'