Date format
Format a given date.
Date format
You are encouraged to solve this task according to the task description, using any language you may know.
You are encouraged to solve this task according to the task description, using any language you may know.
Python
Formatting rules: http://docs.python.org/lib/module-time.html (strftime)
from datetime import * # Print today's date: today = date.today() print "Today is: ", today.strftime('%B %d, %Y') # Print tomorrow's date: tomorrow = today + timedelta( days=1 ) print "Tomorrow is: ", tomorrow.strftime('%B %d, %Y')