Sets the date when an on-disk or in-memory file was most recently modified.
fileSetLastModified(filePath, date)
→ returns void
<cfscript>
fileSetLastModified("c: emp est1.txt", "#now()#");
writeOutput(#getFileInfo("c: emp est1.txt").lastmodified#);
</cfscript>
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.