Previous PageNext Page

7.15.3 DateCreated Property

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

Syntax

object.DateCreated

object
A File object.

Remarks

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

function ShowFileInfo(filespec)

{

var fs, f, s;

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

f = fs.GetFile(filespec);

s = "Created: " + f.DateCreated;

Response.Write(s);

}


Copyright © 2000 Chili!Soft

Previous PageTop Of PageNext Page