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
You can use easy_date to make it easy:
import date_converter my_date = date_converter.date_to_string(today, '%Y-%m-%d')