Help - Search - Members - Calendar
Full Version: Last date modified
W3Schools Forum > Server Scripting > ColdFusion
vchris
This might sound stupid but I have no idea how to get the last date modified of the current web page I'm viewing. I googled it and could find anything good. Would this still work if my last date modified is in a separate file, footer_e.cfm?
Skemcin
QUOTE (vchris @ Feb 7 2008, 10:47 AM) *
This might sound stupid but I have no idea how to get the last date modified of the current web page I'm viewing. I googled it and could find anything good. Would this still work if my last date modified is in a separate file, footer_e.cfm?

You'd have to use a combination of the FileExists() function to first see that the file in question exists - unless you are using cgi.script_name. then, use either cffile or cfdirectory to get the individual file properties. dump the variables out and you should be able to get the last modified date.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.