Date Format not working in python script

view story

http://www.unix.com – Good Morning, I am working on a pyhton script, where it has to fetch a file from our vendor's server over an ftp. The file is having a date format of "MMDDYYYY" (i have included in my python script), but when the script is executed it is unable to fetch the file. At the same time, if i modify the script and include the actual date numericals (01012000) then it is picking up the file. I tried with different date formats YYYYMMDD etc but no luck. Can someone please help me on this. (HowTos)