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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File date

Status
Not open for further replies.

gcastillo

Programmer
Jun 9, 2000
127
MX
I need to display the modification date of an file.xls. In VB I can use FileDateTime("path_to_file"), but I can not make it work in VBScript.... Any Idea??

You can see a poor try in THANKS FOR HELP!!
 
I don't believe it can be done client-side, since that info is not generally provided by the web server. You would have to use either Server Side Includes (which does exactly what you want very easily) or use CGI, in which case you could use a language such as Perl to read your filesystem and get the date info and then return it to the browser.
Sincerely,

Tom Anderson
CEO, Order amid Chaos, Inc.
 
I´ve never used Server Side includes, where can I find information about it?. Is some way to know if my web host has that service?
Thank you!
 
Thank you. I've found how a SSI works, and the code I need. Now I just need to know if my web host has that service...
Thank you very much...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top