Solved: does strftime work with date objects in Python...
such as a datetime object, you cannot use the strftime() function to format it into a string. Instead, you must convert the date object into a string first before using the strftime() function.