Once again your code is very much out of date! 2000 passed by some years ago and Netscape is one with Nineveh and Tyre.
<script language=javascript> is long deprecated. Use <script type = "text/javascript"> instead (in fact also deprecated but still necessary for IE<9).
The <!-- and //--> comment (hiding) tags have not been necessary since IE3 (i.e. since September 1997). If you see these in some published script it is a warning that you are looking at
ancient and perhaps unreliable code.
One more time - When posting here please help us to help you by following the posting guidelines and wrapping your code in CODE tags. It should be very obvious why this is necessary.
This means use the octothorpe or # button on the toolbar. You can (and should) edit your previous post. ln fact the fault is the missing backslash in the closing tag. Review your posts and edit them where necessary.
Code:
<span id = "DLM"></span>
<script type="text/javascript">
function lastModified() {
var mth = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'];
var dy = ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'];
var modiDate = new Date(document.lastModified);
var dd = modiDate.getDate();
if (dd <10) { dd = "0" + dd }
var m = modiDate.getMonth(); // 0-11
m = mth[m];
var yy = modiDate.getFullYear();
var d = modiDate.getDay(); // 0-7
d = dy[d];
var lmd = d + " " + dd + "-" + m + "-" + yy;
var hh = modiDate.getHours();
if (hh < 10) { hh = "0" + hh }
var mm = modiDate.getMinutes();
if (mm <10) { mm = "0" + mm}
var ss = modiDate.getSeconds();
if (ss <10) {ss = "0" + ss}
var lmtm = hh + ":" + mm + ":" + ss;
document.getElementById("DLM").innerHTML = "This page was last updated on " + lmd + " @ " + lmtm;
}
//USAGE:-
lastModified();
</script>
You can obviously edit this to output the date in any format that may be desired.
Frustration - the first time you can't do it the second time.
Desperation - the second time you can't do it the first time