I am using the following line to display the date on my website:
<SCRIPT LANGUAGE="JavaScript">
var Today = new Date();
var month = Today.getMonth() + 1;
document.write ("Printed: " + month + "/" + Today.getDate() + "/" + Today.getYear());
</SCRIPT>
This displays correctly in IE...however the problem is when I look up this same exact page in Netscape, the date shows up as 2/18/104
Why does it say 104 and how do I make it say 2004???
Thanks in advance.
<SCRIPT LANGUAGE="JavaScript">
var Today = new Date();
var month = Today.getMonth() + 1;
document.write ("Printed: " + month + "/" + Today.getDate() + "/" + Today.getYear());
</SCRIPT>
This displays correctly in IE...however the problem is when I look up this same exact page in Netscape, the date shows up as 2/18/104
Why does it say 104 and how do I make it say 2004???
Thanks in advance.