Hello,
I have made a first version of the frontpage of my new homepage. I use
the small javascript
<script type="text/javascript">
var modDate = new Date(document.lastModified);
var day = modDate.getDate();
var month = modDate.getMonth()+1;
var year = modDate.getYear();
var s = "Deze pagina werd laatst aangepast op ";
s += ((day < 10)?"0"+day:day) + "/";
s += ((month < 10)?"0"+month:month) + "/";
s += year;
s += ".";
document.writeln(s);
</script>
to print the date on which the page was last modified. When I look at
the page when it resides on my hard disk, then the date is correct:
19/08/2003. But when I put that same page online at the webspace
assigned to me by my internet provider, then the date turns into
19/08/2036. So the year is completely wrong!
I use Internet Explorer 6.0. The url of the online page is
http://home.scarlet.be/~vv991306/temp_homepage/
Any idea what I'm doing wrong here? Or is the date on the server set
wrong and is that what's causing my problem?
Thanks,
Veerle