Peter Moscatt wrote:
> I am wanting to return the system date using the following:
> 
>       date.today()
> 
> How would I then convert this to a string ?

Use the strftime method. The formatting directives are documented here:
http://docs.python.org/lib/module-time.html

Example: date.today().strftime("%B %d, %Y")

-- 
Brian Beck
Adventurer of the First Order
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to