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
Considering the fact you asked for something simple to do what you wanted, you could just:
import datetime str(datetime.date.today())