get todays files

Andrew Doades andrew at doadesweb.co.uk
Wed Dec 10 20:19:48 CET 2008


Tim Chase wrote:
>> This looks very good and I have tested successfully, but is there a
>> way I can set the today to automatically become todays date in that
>> format?
>
> Yes...see the python datetime module[1]...particularly the strftime() 
> call on date/datetime objects.
>
> -tkc
>
> [1]
> http://docs.python.org/library/datetime.html
Thanks Tim, I got it in there myself.

Thanks for all your help with this and the links proved very useful and 
interesting reads.

Andrew



More information about the Python-list mailing list