Mega Code Archive

 
Categories / Python / Development
 

Dates are easily constructed and formatted

#Dates and Times from datetime import date now = date.today() print now print now.strftime("%m-%d-%y. %d %b %Y is a %A on the %d day of %B.")