Thankyou for the quick replies.
I was trying to avoid lots of javascript and only wanted to display piece of text that would reflect the last time the web page had been modified (not accessed).
Boomerang your last piece of code:
<script language="javascript">
document.write("The page was last modified on"+" "+document.fileModifiedDate)
</script>
showed the following display:
The page was last modified on 05/06/2002.
To anyone in the UK they woould automatically assume the date was 5th June 2002 instead of 6th May 2002
The following code:
<script>
var mydate = new Date(document.lastModified);
var day = mydate.getDate();
var month = mydate.getMonth()+1;
var year = mydate.getFullYear()+100;
var seconds = mydate.getSeconds();
var minutes = mydate.getMinutes();
var hours = mydate.getHours();
document.write("The page was last modified on " + day + "/" + month + "/" + year + " " + hours + ":" + minutes + ":" + seconds);
</script>
Displayed The page was last modified on 6/5/2102 15:59:3
I use some code that is similar on my index page I think I am going to have to play with that. It is as follows:
var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"

var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December"

function getthedate(){
var mydate=new Date()
var year=mydate.getYear()
if (year < 1000) year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
var hours=mydate.getHours()
var minutes=mydate.getMinutes()
var seconds=mydate.getSeconds()
// var dn="am"
// if (hours>=12) dn="pm"
// The greeting coding is as follows
var greeting="Hello" // default greeting
// Original code if (hours>=0 && hours<12) greeting="morning"+"<BR>"
if (hours>=0 && hours<12) greeting="morning"
if (hours>=12 && hours<18) greeting="afternoon"
if (hours>=18 && hours<=23) greeting="evening" // greeting coding finished
if (hours>12){hours=hours-12}
if (hours==0) hours="00"
if (minutes<10) minutes="0"+minutes
if (seconds<10) seconds="0"+seconds
var suffix="" // suffix code ie st, nd, rd and th
if ((daym ==1) | (daym ==21) | (daym ==31)){suffix = "st "}
if ((daym ==2) | (daym ==22)){suffix = "nd "}
if ((daym ==3) | (daym ==23)){suffix = "rd "}
if((daym >=4 && daym <=20) | (daym >=24 && daym <=30)){suffix = "th "}
var cdate="<font color='FF0000' size='2pt'>"+"Your system time is "+hours+":"+minutes+":"+seconds+" on "+dayarray[day]+" "+greeting+" the "+daym+"<font size=-1><sup>"+suffix+"</sup></font>"+" of "+montharray[month]+" "+year+"</font></font>"
// Original var cdate="<font color='FF0000'>"+greeting+" Your system time is "+hours+":"+minutes+":"+seconds+dn+" - "+dayarray[day]+", "+daym+"<font size=-1><sup>"+suffix+"</sup></font>"+" "+montharray[month]+" "+year+"</font></font>"
// fonts are done as follows var cdate="<small><font color='000066' face='Arial'><b>"+hours+":"+minutes+":"+seconds+dn+" - "+dayarray[day]+", "+daym+" "+montharray[month]+" "+year+"</b></font></small>"
if (document.all) document.all.clock.innerHTML=cdate
else if (document.getElementById) document.getElementById("clock"

.innerHTML=cdate
else document.write(cdate)}
if (!document.all&&!document.getElementById) getthedate()
function goforit(){if (document.all||document.getElementById) setInterval("getthedate()",1000)}
and displays:
Your system time is 4:05:22 on Monday afternoon the 6th of May 2002.
Again, Thanks for your quick replies and I now have something to work from.
Sandy Rogers