I am using the following script to update the last modify date. Its displaying the currrent date on IE, but on Netscape its displaying Last Updated: 1969-12-31. Can someone provide me a solution.
Thanks
Sen
<script language="JavaScript1.3">
var mydate=new Date(document.lastModified)
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()+1
if (month<10)
month="0"+month
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
document.write("<small><font color='000000' face='Arial'><a href='/cdo/index_e.html#date'><b>Last Updated: "+year+"-"+month+"-"+daym+"</b></a></font></small>")
</script>





Bookmarks