demo_datetime_strftime_j.py:
x = datetime.datetime.now() print(x.strftime("%j"))
C:\Users\My Name>python demo_datetime_strftime_j.py