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