<% Set fs = Server.CreateObject("Scripting.FileSystemObject") Set rs = fs.GetFile(Server.MapPath("demo_lastmodified.asp")) modified = rs.DateLastModified %> 文件最后的修改时间为: <%response.write(modified) Set rs = Nothing Set fs = Nothing %>
效果会显示在右边 Create by 软晨网(RuanChen.com)