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
For those wanting locale-based date and not including time, use:
>>> some_date.strftime('%x') 07/11/2019