This is my code:
import datetime today = datetime.date.today() print(today)
This prints: 2008-11-22 which is exactly what I wa
2008-11-22
Since the print today returns what you want this means that the today object's __str__ function returns the string you are looking for.
print today
__str__
So you can do mylist.append(today.__str__()) as well.
mylist.append(today.__str__())