Printing date a file

Bernd Kaiser meldron at meldron.org
Tue Aug 24 22:28:14 CEST 2004


I would use the "International Date Format (ISO 8601)"

CCYY-MM-DD (2004-08-24)

Regards,
Bernd Kaiser

Kory Wheatley wrote:
> In Python how would you print the date in a file, I
> have a logging program written in python and for each
> new recorded added to the file, I would like to print
> the 
> date, something like this below:
> 
> 08/24/2004 or 08-24-2004
> 
> --
> Kory Wheatley
> 
> 
> 		
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail 



More information about the Python-list mailing list