Spectacular Free Slide Show MP3 Sound Streamer Email Link Encoder Stream Website Audio Cool Free Text Scroller

CodeLifter.com
Software & Scripts by CodeBrain.com
Home

JavaScripts
PopUp Maker
-
popup windows

CodeLifter 5
-
source viewer

ScrollBar Styler
-
color scrollbars

Flash Fixer
-
remove alerts

Roll-Over Maker
-
image roll-overs

Link Cloaker 5
-
encrypt links

Site Capture 3
-
hidden frames

CHMOD 2 Utility
-
chmod utility

BlackBird 3.0
-
browser shell

Zoom 1.0
-
magnifier
MicroTicker.com
-
text scroller

CodeBrain.com
-
java applets

D3Q.com
-
xp icon control

BrainCode.com
-
java applets

MailToProtector
-
protect email
Java Applets
Perl Scripts
Affiliate Program
Index JavaScript
Tip
Index
How  Do I Automatically Show the Last Modified Date/Time of a Page
with JavaScript?

.
The following JavaScript in your page will show the Last Modified date/time of the page:

<script>
document.write(document.lastModified);
</script>

Here is a sample of the output...

Note that you can format the appearance simply by wrapping the usual font tags around the scriptlet, like this:

<font size="2" face="Verdana,Arial" color="#FF0000">
<i>
<script>
document.write(document.lastModified);
</script>
</i>
</font>

Note that in pages with dynamic content -- such as this page, with dynamically delivered ads -- the datetime stamp changes each time the page is loaded, since the document has, effectively, been changed on each reload with the new ad content.

Get The Code! CodeLifter is a CodeBrain.com Sister Site
© 1995-2008 OEC Corp & CodeLifter.com
CodeLifter™ & CodeBrain™
Legal Notices


CodeBrain InterNET Group
BrainCode.com CodeFoot.com CodeBelly.com
D3Q.com etLux.com FFFast.com
IEFix.com PopUpWorks.com MicroTicker.com
DavidSosnowski.com OECCorp.com MailToProtector.com
CodeBrain.com



Free MP3
Downloads


Contemporary classical music, completely free.

.