human
Parse a string with a date to a datetime object
assistant
Here is some code to parse string '01-Jan-1995' into a datetime object using format '%d-%b-%Y'

datetime.datetime.strptime('01-Jan-1995', '%d-%b-%Y')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.