SyntaxFix
Write A Post
Hire A Developer
Questions
>>> import datetime >>> datetime.date.fromordinal(datetime.date.today().toordinal()-1).strftime("%F") '2015-05-26'