此文件何時被修改

代碼:

<!DOCTYPE html>

<html>

<body>

 

<%

dim fs, f

set fs=Server.CreateObject("Scripting.FileSystemObject")

set f=fs.GetFile(Server.MapPath("testread.txt"))

Response.Write("The file testread.txt was last modified on: " & f.DateLastModified)

set f=nothing

set fs=nothing

%>

 

</body>

</html>

結(jié)果:

The file testread.txt was last modified on: 5/10/2012 3:58:51 AM

相關(guān)文章
亚洲国产精品第一区二区,久久免费视频77,99V久久综合狠狠综合久久,国产免费久久九九免费视频