Mega Code Archive

 
Categories / JavaScript Tutorial / MS JScript
 

Folder DateCreated

The DateCreated property gets the date when the folder was created. <html>     <body>     <script language="JScript">     <!--     function get(){       var myObject = new ActiveXObject("Scripting.FileSystemObject");       var myFolder = myObject.GetFolder("c:\\Temp");       alert (myFolder.DateCreated);     }     // End hide-->     </script>     Get the date the c:\temp folder was created.     <form name="myForm">     <input type="Button" value="Get Date" onClick='get()'>     </form>     </body>     </html>