date last modified script?

Mariner, Vincent A. vmariner at fgcu.edu
Wed Feb 9 08:32:59 EST 2000


Hello folks,

Can anyone point me to a date last modified script?   The one I currently
use is not working correctly in Netscape Communicator.

Here's the current scipt:

  <SCRIPT TYPE="text/javascript"> var theDate = ""
  theDate = document.lastModified
  document.writeln("Last Updated: ");
  document.write(theDate);
  document.write();
  </SCRIPT>

and here is what it produces in Netscape Communicator:

Last Updated: Wednesday, December 31, 1969 20:00:00

Works just fine in I.E. 5

As I looked for a script, I noticed that many people are not using scripts
for this purpose.  Is this more appropriate, common, a trend, etc.?

Thanks,
Vince


More information about the Web4lib mailing list