Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

JScript Folder Object DateCreated Property

Returns the date and time that the specified folder was created. Read-only.

Syntax: JScript Folder Object DateCreated Property

object.DateCreated

Arguments: JScript Folder Object DateCreated Property

object

A File or Folder object.

Remarks: JScript Folder Object DateCreated Property

The following code illustrates the use of the DateCreated property with a folder:

function ShowFileInfo(filespec)

{

var fs, f, s;

fs = new ActiveXObject("Scripting.FileSystemObject");

f = fs.GetFolder(filespec);

s = "Created: " + f.DateCreated;

Response.Write(s);

}

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.