Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File Last Updated Date Stamp 1

Status
Not open for further replies.

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=&quot;LIST&quot; DIRECTORY=&quot;d:\ NAME=&quot;lastmod&quot; FILTER=&quot;filename.cfm&quot;>
<CFOUTPUT QUERY=&quot;lastmod&quot;>#DateFormat(lastmod.DateLastModified, 'DD-MM-YYYY')#</CFOUTPUT>
Thanks in advance,
 
Hi MX3!

Without CFDIRECTORY or CFFILE I dont think you cant do it...

Sorry,
Chris
[sig][/sig]
 
thnaks a lot, great way of showing the Last Updated in a page.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top