last updated problem with year">Solved: JavaScript last updated problem with year

@ 20:21

getYear() Date Method
The method getYear() has been implemented differently on various browsers and versions of browsers. Starting with Netscape Navigator 2 and Internet Explorer 3, getYear() always returned a value equal to the number of years since 1900 for the date object, or put another way, the year minus 1900. This results in a one, two or three digit value being returned by getYear()

JavaScript 1.2 getFullYear() Date Method
The ECMAScript specification introduced the getFullYear() method, and deprecated the original getYear() method.

tech.irt.org G




Kommentit (0):





Kommentointi on suljettu.

« Takaisin pääsivulle