November 15, 2000 - Probing the File Creating Date
![]() |
November 15, 2000 Probing the File Creation Date Tips: November 2000
Yehuda Shiran, Ph.D.
|
DateCreated property of the File object. Here is a piece of script that will print the file's creation date:
<SCRIPT LANGUAGE="JavaScript">
<!--
myActiveXObject = new ActiveXObject("Scripting.FileSystemObject");
file = myActiveXObject.GetFile("c:\\test.txt");
alert(file.DateCreated);
// -->
</SCRIPT>Here is the alert box you will get:



