Guest_imported
New member
- Jan 1, 1970
- 0
Is their any other way to retrieve the date/timestamp from a file in order to insert it onto a webpage?
I am currently using the below format but the webhosting company I am switching to doesn't allow CFFILE or CFDIRECTORY.
<CFDIRECTORY ACTION="LIST" DIRECTORY="d:\ NAME="lastmod" FILTER="filename.cfm">
<CFOUTPUT QUERY="lastmod">#DateFormat(lastmod.DateLastModified, 'DD-MM-YYYY')#</CFOUTPUT>
Thanks in advance,
I am currently using the below format but the webhosting company I am switching to doesn't allow CFFILE or CFDIRECTORY.
<CFDIRECTORY ACTION="LIST" DIRECTORY="d:\ NAME="lastmod" FILTER="filename.cfm">
<CFOUTPUT QUERY="lastmod">#DateFormat(lastmod.DateLastModified, 'DD-MM-YYYY')#</CFOUTPUT>
Thanks in advance,