Tema: Re: FireFox klaida
Autorius: VaidasB
Data: 2011-04-27 10:01:02
http://www.w3schools.com/jsref/jsref_getfullyear.asp

getYear()
Note that getYear() function returns years in two digits for year 
between 1900 to 1999 and it returns three digit year starting from year 
2000. So for the year 2000 getYear() function will return 100 and for 
2001 it will return 101. For the year 2006 it will return 106. Same way 
for the year less than 1900 it will return negative number starting from 
-1 for the year 1899 and 0 for the year 1900.


getFullYear()
getFullYear() function returns year in 4 digits for all the years. So it 
is better to use getFullYear() function than getYear function.


On 27/04/2011 07:50, -=Valdas=- wrote:
> Sveiki, http://grokgitara.lt/test1.htm
> su Firefox 4 ismeta 111, su IE 2011. Tai cia pas mane su kompu ragai, ar
> FireFoxo klaida ?
>
>