I'm using cffile to do a listing of files off an ftp site.  Every one of the last modified dates are off by 1 month and the AM/PM is reversed.  I couldn't quite believe it when I saw it.  Here is the gist of the code:

<cfftp connection="Myftp" username="myusername" password="mypassword" server="ftp.site.com" action="" stoponerror="Yes">
<cfftp connection=Myftp action="" directory="#childdir#" name="dirlist" stoponerror="Yes">

<cfloop query="dirlist">
<cfif dirlist.isdirectory eq "NO">
#dirlist.name#
#dirlist.lastmodified#
</cfif>
</cfloop>
<cfftp action="" connection="Myftp">

I had another programmer here look at it too to make sure I wasn't crazy.  Every single month is 1 into the future and the AM/PM is wrong in every case.  Has anyone seen this before?
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to