demo_datetime_strftime_u2.py:
x = datetime.datetime.now(2018, 5, 31) print(x.strftime("%U"))
C:\Users\My Name>python demo_datetime_strftime_u2.py
21