>From CFLib.org (dont know which one as i use the CFStudio Control)
/**
* Returns the date/time a file was created. (Windows only)
*
* @param file Absolute or relative path to the specified file.
* @return Returns a date/time object.
* @author Rob Brooks-Bilson ([EMAIL PROTECTED])
* @version 1.0, July 24, 2001
*/
function FileDateCreated(path)
{
Var fso = CreateObject("COM", "Scripting.FileSystemObject");
Var theFile = fso.Getfile(path);
Return theFile.DateCreated;
}
HTH
-----Original Message-----
From: Patricia G. L. Hall [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 15:30
To: CF-Talk
Subject: RE: cfdirectory = slow
Is there a similar way to find out the date the file was created?
-Patti
> why not use java ?
>
> <CFOUTPUT>
> #CreateObject("java",
> "java.io.File").init(FileNameAndPathHere).lastModified()#
> </CFOUTPUT>
>
> HTH
>
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
- cfdirectory = slow Nelson Winters
- RE: cfdirectory = slow Barney Boisvert
- Re: cfdirectory = slow Nelson Winters
- RE: cfdirectory = slow Mike Townend
- RE: cfdirectory = slow Patricia G. L. Hall
- RE: cfdirectory = slow Mike Townend
- RE: cfdirectory = sl... Patricia G. L. Hall
- RE: cfdirectory = slow Barney Boisvert
- RE: cfdirectory = sl... Patricia G. L. Hall
- Re: cfdirectory = slow Nelson Winters
- RE: cfdirectory = slow Barney Boisvert
- RE: cfdirectory = slow Barney Boisvert
- RE: cfdirectory = slow Suyer, Ed [PRD Non-J&J]
- RE: cfdirectory = slow Steven Erat
- RE: cfdirectory = slow Steven Erat
- RE: cfdirectory = slow Barney Boisvert