links page Mick's Dinky Di Ridgy Didge Web Site and HTML Guide? links page

HOME ~ RESOURCE KIT ~ WEBMASTER'S ZONE ~ JAVASCRIPT ~ DESIGN TIPS

BACK TO JAVA

Date and Time The Last Date Modified script

Cut and paste this script into a web page where you want the time/date details to appear. You can alter the text (written in pink) that will also appear or remove it completely, leaving only the time/date stamp on the actual page.

<!-- last date modified scrips-->


<SCRIPT LANGUAGE="JavaScript">

<!-- begin hide

var theDate = ""

theDate = document.lastModified;

document.writeln("This page was last modified on : ");

document.write(theDate);

document.write();

// end hide -->

</SCRIPT>

<!-- end last modified script-->


This script should give then produce the following result:

BACK TO JAVA
G'day G'day
You can reach me by e-mail at: [email protected]


HOME ~ RESOURCE KIT ~ WEBMASTER'S ZONE ~ JAVASCRIPT ~ DESIGN TIPS

Hosted by www.Geocities.ws

1