I am using the date time lib to get the current date. After obtaining the current date I need to convert the obtained date to in to a string format. Any help is appriciated
You can use today.strftime(format). format will be a string as described here http://docs.python.org/library/time.html#time.strftime . Example:
today.strftime(format)
format
from datetime import date today = date.today() today.strftime("%x") #>>> '01/31/11'