精品熟女碰碰人人a久久,多姿,欧美欧美a v日韩中文字幕,日本福利片秋霞国产午夜,欧美成人禁片在线观看

ASP DateLastAccessed 屬性

asp datelastaccessed 屬性

file 對(duì)象參考手冊(cè) 完整的 file 對(duì)象參考手冊(cè)

datelastaccessed 屬性用于返回指定文件或文件夾最后被訪問(wèn)的日期和時(shí)間。

語(yǔ)法

fileobject.datelastaccessed

folderobject.datelastaccessed

針對(duì) file 對(duì)象的實(shí)例

<%
dim fs,f
set fs=server.createobject("scripting.filesystemobject")
set f=fs.getfile("c:\test.txt")
response.write("file last accessed on: ")
response.write(f.datelastaccessed)
set f=nothing
set fs=nothing
%>

輸出:

file last accessed on: 10/29/2001 10:21:23 am

針對(duì) folder 對(duì)象的實(shí)例

<%
dim fs,fo
set fs=server.createobject("scripting.filesystemobject")
set fo=fs.getfolder("c:\test")
response.write("folder last accessed on: ")
response.write(fo.datelastaccessed)
set fo=nothing
set fs=nothing
%>

輸出:

folder last accessed on: 9/19/2001 10:01:19 am

file 對(duì)象參考手冊(cè) 完整的 file 對(duì)象參考手冊(cè)
相關(guān)文章