Folder.DateLastModified : Folder : MS JScript JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » MS JScript » Folder »

 

Folder.DateLastModified







The DateLastModified property gets the date the folder was last modified.












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







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo MS JScript
» Folder