{"json_modified": "2015-05-18T11:35:53.996749", "slug": "Web/JavaScript/Referencia/Objectes_globals/Date/getYear", "tags": [], "locale": "ca", "title": "Date.prototype.getYear()", "translations": [{"title": "Date.prototype.getYear()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getYear", "tags": ["Reference", "Date", "R\u00e9f\u00e9rence", "prototype", "JavaScript", "Deprecated", "Method"], "summary": "The getYear() method returns the year in the specified date according to local time. Because getYear() does not return full years (\"year 2000 problem\"), it is no longer used and has been replaced by the getFullYear() method.", "localization_tags": [], "locale": "en-US", "last_edit": "2014-10-27T04:15:13", "review_tags": []}, {"title": "Date.prototype.getYear()", "url": "/pl/docs/Web/JavaScript/Referencje/Obiekty/Date/getYear", "tags": ["Dokumentacja_JavaScript", "JavaScript", "Dokumentacje", "Wszystkie_kategorie"], "summary": "Zwraca rok dla okre\u015blonej daty w zale\u017cno\u015bci od czasu lokalnego. Metoda getYear nie jest d\u0142u\u017cej wykorzystywana i zosta\u0142a zast\u0105piona metod\u0105 getFullYear().", "localization_tags": [], "locale": "pl", "last_edit": "2015-04-18T10:46:15", "review_tags": []}, {"title": "Date.prototype.getYear()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Date/getYear", "tags": ["Reference", "Date", "R\u00e9f\u00e9rence", "prototype", "JavaScript", "Deprecated", "Method"], "summary": "Aucun.", "localization_tags": [], "locale": "fr", "last_edit": "2015-01-17T10:38:23", "review_tags": []}, {"title": "Date.prototype.getYear()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Date/getYear", "tags": ["Date", "Date Methods"], "summary": "\u5730\u65b9\u6642\u306b\u57fa\u3065\u304d\u3001\u6307\u5b9a\u3055\u308c\u305f\u65e5\u6642\u306e\u300c\u5e74\u300d\u3092\u8fd4\u3057\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-04-12T12:55:45", "review_tags": []}, {"title": "Date.prototype.getYear()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Date/getYear", "tags": [], "summary": "The getYear() method returns the year in the specified date according to local time. Because getYear does not return full years (\"year 2000 problem\"), it is no longer used and has been replaced by the getFullYear method.", "localization_tags": ["inprogress"], "locale": "zh-CN", "last_edit": "2015-04-17T05:06:05", "review_tags": []}, {"title": "Date.prototype.getYear()", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Date/getYear", "tags": ["Reference", "Date", "R\u00e9f\u00e9rence", "prototype", "JavaScript", "Deprecated", "Method"], "summary": "", "localization_tags": [], "locale": "ru", "last_edit": "2014-10-27T04:27:07", "review_tags": []}], "modified": "2015-05-18T11:35:51", "label": "Date.prototype.getYear()", "localization_tags": [], "url": "/ca/docs/Web/JavaScript/Referencia/Objectes_globals/Date/getYear", "last_edit": "2015-05-18T11:35:47", "summary": "El m\u00e8tode getYear() retorna l'any de la data especificada segons l'hora local. Com que getYear() no retorna anys sencers (\"el problema de l'any 2000\"), no s'utilitza m\u00e9s i s'ha substitu\u00eft pel m\u00e8tode getFullYear().", "sections": [{"id": "Quick_Links", "title": "Objectes estandards Date Propietats Date.prototype M\u00e8todes Date.UTC() [Traduir] Date.now() Date.parse() [Traduir] Date.prototype.getDate() [Traduir] Date.prototype.getDay() Date.prototype.getFullYear() Date.prototype.getHours() Date.prototype.getMilliseconds() Date.prototype.getMinutes() Date.prototype.getMonth() Date.prototype.getSeconds() Date.prototype.getTime() [Traduir] Date.prototype.getTimezoneOffset() [Traduir] Date.prototype.getUTCDate() [Traduir] Date.prototype.getUTCDay() [Traduir] Date.prototype.getUTCFullYear() [Traduir] Date.prototype.getUTCHours() [Traduir] Date.prototype.getUTCMilliseconds() [Traduir] Date.prototype.getUTCMinutes() [Traduir] Date.prototype.getUTCMonth() [Traduir] Date.prototype.getUTCSeconds() [Traduir] Date.prototype.getYear() [Traduir] Date.prototype.setDate() [Traduir] Date.prototype.setFullYear() [Traduir] Date.prototype.setHours() [Traduir] Date.prototype.setMilliseconds() [Traduir] Date.prototype.setMinutes() [Traduir] Date.prototype.setMonth() [Traduir] Date.prototype.setSeconds() [Traduir] Date.prototype.setTime() [Traduir] Date.prototype.setUTCDate() [Traduir] Date.prototype.setUTCFullYear() [Traduir] Date.prototype.setUTCHours() [Traduir] Date.prototype.setUTCMilliseconds() [Traduir] Date.prototype.setUTCMinutes() [Traduir] Date.prototype.setUTCMonth() [Traduir] Date.prototype.setUTCSeconds() [Traduir] Date.prototype.setYear() [Traduir] Date.prototype.toDateString() [Traduir] Date.prototype.toGMTString() [Traduir] Date.prototype.toISOString() [Traduir] Date.prototype.toJSON() [Traduir] Date.prototype.toLocaleDateString() [Traduir] Date.prototype.toLocaleFormat() [Traduir] Date.prototype.toLocaleString() [Traduir] Date.prototype.toLocaleTimeString() [Traduir] Date.prototype.toSource() [Traduir] Date.prototype.toString() [Traduir] Date.prototype.toTimeString() [Traduir] Date.prototype.toUTCString() [Traduir] Date.prototype.valueOf() [Traduir] Her\u00e8ncia Function Propietats Function.arguments [Traduir] Function.arity [Traduir] Function.caller [Traduir] Function.displayName [Traduir] Function.length [Traduir] Function.name [Traduir] Function.prototype [Traduir] M\u00e8todes Function.prototype.apply() [Traduir] Function.prototype.bind() [Traduir] Function.prototype.call() [Traduir] Function.prototype.isGenerator() [Traduir] Function.prototype.toSource() [Traduir] Function.prototype.toString() [Traduir] Object Propietats Object.prototype.__count__ [Traduir] Object.prototype.__noSuchMethod__ [Traduir] Object.prototype.__parent__ [Traduir] Object.prototype.__proto__ [Traduir] Object.prototype.constructor [Traduir] M\u00e8todes Object.prototype.__defineGetter__() [Traduir] Object.prototype.__defineSetter__() [Traduir] Object.prototype.__lookupGetter__() [Traduir] Object.prototype.__lookupSetter__() [Traduir] Object.prototype.hasOwnProperty() [Traduir] Object.prototype.isPrototypeOf() [Traduir] Object.prototype.propertyIsEnumerable() [Traduir] Object.prototype.toLocaleString() [Traduir] Object.prototype.toSource() [Traduir] Object.prototype.toString() [Traduir] Object.prototype.unwatch() [Traduir] Object.prototype.valueOf() [Traduir] Object.prototype.watch() [Traduir]"}, {"id": "Summary", "title": "Resum"}, {"id": "Syntax", "title": "Sintaxi"}, {"id": "Parameters", "title": "Par\u00e0metres"}, {"id": "Returns", "title": "Retorna"}, {"id": "Backward_compatibility", "title": "Compatibilitat amb versions anteriors"}, {"id": "JavaScript_1.2_and_earlier", "title": "Comportament en JavaScript 1.2 i anteriors"}, {"id": "Examples", "title": "Exemples"}, {"id": "Example:_Years_between_1900_and_1999", "title": "Exemple: Anys entre1900 i 1999"}, {"id": "Example:_Years_above_1999", "title": "Exemple: Anys majors que 1999"}, {"id": "Example:_Years_below_1900", "title": "Exemple: Anys menors que 1900"}, {"id": "Example:_Setting_and_getting_a_year_between_1900_and_1999", "title": "Exemple: Assignar i obtenir un any entre1900 i 1999"}, {"id": "Especificacions", "title": "Especificacions"}, {"id": "Compatibilitat_amb_navegadors", "title": "Compatibilitat amb navegadors"}, {"id": "See_also", "title": "Vegeu tamb\u00e9"}], "id": 150973, "review_tags": []}