DateCreated 属性
作者:问天 发表时间:2007-2-15 00:52 阅读:274次 在百度搜索相关内容

返回指定文件或文件夹的创建日期和时间。 只读。
object.DateCreated
object 应为 FileFolder 对象。
[color=#FFFFFF'][/color]

说明
下面的代码通过一个文件说明了 DateCreated 属性的用法:
[color=#FFFFFF'][/color]
function ShowFileInfo(filespec)
{
var fso, f, s;
fso = new ActiveXObject("Scripting.FileSystemObject");
f = fso.GetFile(filespec);
s = "Created: " f.DateCreated;
return(s);
}
请参阅
Attributes 属性DateLastAccessed 属性DateLastModified 属性Drive 属性Files 属性IsRootFolder 属性Name 属性ParentFolder 属性Path 属性ShortName 属性ShortPath 属性Size 属性SubFolders 属性Type 属性
应用于: File 对象Folder 对象

#Advertisement