Awesome, thanks.

-matt

-----Original Message-----
From: Mike Mertsock [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2003 10:26 PM
To: CF-Talk
Subject: Files with Time and date stamps...


Oof, immediately after postin my reply I realized a potentially much better
solution. Will the last modified date/time of the files reflect the date and
time mentioned in the filenames? If so, use cfdirectory as I mentioned but
specify sort="datelastmodified DESC". Then first record returned will be the
most recent file matching the filter :-)

Mike Mertsock
Alfred University Web Team

>I'm trying to find a particular file in a directory that has a file name
>similar to 'FILENAME20030803034545.csv'.
>
>I'm trying to use FileExists() but I keep running issues with the time, not
>so much the date....How do I look for a file that has the most recent date
>and time.  Is there an efficient way to find this out?
>
>Thanks,
>
>Matt

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com

Reply via email to