Parse string according to the given time format (like time.strptime()). For a list of supported format codes, see the documentation: https://docs.python.org/3/library/datetime.html#format-codes
datetime/time.strptime
time.strptime