hi,
in my web i use javascript to show the current date. to the user.
the problem is on the year. i use the function:
var today = new Date();
year = today.getDate() ;
but then the output that i get is different in opera and in IE 6.
in IE 6 the output is 2008
while in firefox and opear it's 108
how to solve this problem?
thanks in advance
in my web i use javascript to show the current date. to the user.
the problem is on the year. i use the function:
var today = new Date();
year = today.getDate() ;
but then the output that i get is different in opera and in IE 6.
in IE 6 the output is 2008
while in firefox and opear it's 108
how to solve this problem?
thanks in advance
Comment