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