Viewing file timestamp and date in ASP

I would like to know how do you show the timestamp of a file in ASP. Can it be done by VbScript, HTML or Javascript? I need to display this info in a normal ASP page.
Who is Participating?
drittichConnect With a Mentor Commented:
Here is some sample VBScript code using the FileSystemObject:

Dim filesys, demofile, createdate
Set filesys = CreateObject_("Scripting.FileSystemObject")
Set demofile = filesys.GetFile_("filename")
createdate = demofile.DateCreated

The underscores indicate the code is wrapped to the next line, but should be on one line.

dinoang22Author Commented:
Thanks a lot.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.