You've already turned a datetime object into a formatted string with 'strftime' but now, in order to transform a date string into a datetime object, you will need to use 'strptime' !
datetime.strptime() takes two parameters:
First, the string that is written in a datetime format (example 'May 12 2001 2:22PM')
Second, the corresponding format matching the first parameter's date string (formatted using symbols defined to represent datetime; the full list can be found at https://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavior) When setting up this second parameter for strptime, make sure the symbols correspond with the part of the date string (example: 'May 22' would be represented by '%b %d', spacing matters!)
Create a function string_to_datetime that takes the test date strings and converts them into datetime objects!