For future reference: this is the appropriate section of the documentation. https://docs.python.org/3/library/datetime.html#strftime-strptime-behavior
For future reference, if someone thinks python can’t do something simple, they are probably wrong. Try googling “python anti gravity”. That’s how powerful python is.