Hy all,
I have a problem with a date in javascript on firefox Browser.
I use this javascript method:
var dataNow=new Date();
var dd=dataNow.getD ate();
var mm=dataNow.getM onth()+1;
var yy=dataNow.getY ear();
Firefox does not display the date correctly.
Instead of "2005" for the year, it displays "105", in IE Explorer, it looks
fine.
How can i solve that??
Thanks in advance.
Franz.
I have a problem with a date in javascript on firefox Browser.
I use this javascript method:
var dataNow=new Date();
var dd=dataNow.getD ate();
var mm=dataNow.getM onth()+1;
var yy=dataNow.getY ear();
Firefox does not display the date correctly.
Instead of "2005" for the year, it displays "105", in IE Explorer, it looks
fine.
How can i solve that??
Thanks in advance.
Franz.
Comment