ValueError: time data '20-Nov-2020 14:42:07' does not match format 'dd-mmm-YYYY HH:MM:SS' (match) code example
Example: time data '23-05-2017 08:00:00' does not match format 'dd-MM-yyyy HH:mm:ss'
>>> from datetime import datetime
>>> datetime.strptime('07/28/2014 18:54:55.099000', '%m/%d/%Y %H:%M:%S.%f')
datetime.datetime(2014, 7, 28, 18, 54, 55, 99000)