W
What-a-Tool
Why is it that the following code displays "2005" in IE, but "105" in every
other browser I've tried?
var mydt = new Date();
var myyr = mydt.getYear();
document.write("<p>Year Test : "+myyr+"</p>");
Thanks in advance
--
/ Sean the Mc /
"Opinions are like flatulence - everyone loves the sound of their own, but
anyone else's usually just stinks !"
-anonymous
other browser I've tried?
var mydt = new Date();
var myyr = mydt.getYear();
document.write("<p>Year Test : "+myyr+"</p>");
Thanks in advance
--
/ Sean the Mc /
"Opinions are like flatulence - everyone loves the sound of their own, but
anyone else's usually just stinks !"
-anonymous