3 Replies Latest reply on Sep 26, 2006 12:00 PM by Newsgroup_User

    Last Changed Code

    sudsburg
      If i use the lastchanged.cfm, it show up today date and time. If i use lastchanged.html it shows last changed date

      The following code:
      <script language="Javascript">
      <!--
      var default_date = "12/3/99"
      var lm = document.lastModified

      if (Date.parse(lm) == 0) {
      lm = default_date
      }

      document.write("Last Modified on: " + lm + " EST")
      //-->
      </script>