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
Here is how to display the date as (year/month/day) :
from datetime import datetime now = datetime.now() print '%s/%s/%s' % (now.year, now.month, now.day)