"Psybar Phreak" <psybar_phreak at yahoo.com> writes: > > im using python cgi in my website, and wanted to get the system date in the > format YYYY-MM-DD How about strftime in the time module? $ python -c 'import time; print time.strftime("%Y-%m-%d")' 2003-05-10 I hope this helps, Tim