|
FileSetLastModified
DescriptionSets
the date when an on-disk or in-memory file was most recently modified.
Function syntaxFileSetLastModified(filepath, date)
HistoryColdFusion
8: Added this function.
Parameters
Parameter
|
Description
|
filepath
|
An absolute path to an on-disk or in-memory
file on the server.
|
date
|
A valid ColdFusiondate or datetime.
|
Example<cfscript>
FileSetLastModified("c:\temp\test1.txt", "#Now()#");
WriteOutput(#GetFileInfo("c:\temp\test1.txt").lastmodified#);
</cfscript>
|