{"json_modified": "2016-08-16T03:06:30.501119", "uuid": "c7e2a6f1-6d7b-4800-af54-f8d591ce53dd", "title": "Date.prototype.getYear()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getYear", "tags": ["Reference", "Date", "Prototype", "JavaScript", "Deprecated", "Method"], "translations": [{"uuid": "4647589b-7d03-4fc6-ae8e-7cf20676f4da", "title": "Date.prototype.getYear()", "url": "/ca/docs/Web/JavaScript/Referencia/Objectes_globals/Date/getYear", "tags": [], "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()
.", "localization_tags": [], "locale": "ca", "last_edit": "2015-05-18T11:35:47", "review_tags": []}, {"uuid": "4496cf6e-0406-457a-bd06-d6301183b8fb", "title": "Date.prototype.getYear()", "url": "/de/docs/Web/JavaScript/Reference/Global_Objects/Date/getYear", "tags": ["Reference", "Date", "Prototype", "JavaScript", "Deprecated", "Method"], "summary": "Die getYear()
Methode gibt das Jahr eines Datums bez\u00fcglich der Ortszeit zur\u00fcck. Weil getYear()
nicht das ganze Jahr zur\u00fcck gibt (das \"Jahr 2000 Problem\"), wird es nicht weiter eingesetzt und wird von der Methode getFullYear()
ersetzt.", "localization_tags": [], "locale": "de", "last_edit": "2016-08-04T04:48:51", "review_tags": []}, {"uuid": "7bf76c3c-fa6c-4b7c-af62-7510ecb9c0bb", "title": "Date.prototype.getYear()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Date/getYear", "tags": ["D\u00e9pr\u00e9ci\u00e9", "Reference", "Date", "R\u00e9f\u00e9rence", "Prototype", "JavaScript", "M\u00e9thode"], "summary": "Un nombre repr\u00e9sentant l'ann\u00e9e de la date indiqu\u00e9e, selon l'heure locale, auquel on a soustrait 1900.", "localization_tags": [], "locale": "fr", "last_edit": "2016-08-01T03:48:13", "review_tags": []}, {"uuid": "1656a45c-3082-41e7-a0bd-cbe6dc557316", "title": "Date.prototype.getYear()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Date/getYear", "tags": ["Reference", "Date", "Prototype", "JavaScript", "Deprecated", "Method"], "summary": "getYear()
\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u5730\u65b9\u6642\u306b\u57fa\u3065\u304d\u3001\u6307\u5b9a\u3055\u308c\u305f\u65e5\u4ed8\u306e\u300c\u5e74\u300d\u3092\u8fd4\u3057\u307e\u3059\u3002getYear()
\u306f\u5b8c\u5168\u306a\u6841\u6570\u306e\u5024\u3092\u8fd4\u3055\u306a\u3044\u305f\u3081 (\u3044\u308f\u3086\u308b 2000 \u5e74\u554f\u984c)\u3001\u4f7f\u7528\u3055\u308c\u306a\u304f\u306a\u308a\u3001getFullYear()
\u30e1\u30bd\u30c3\u30c9\u306b\u7f6e\u304d\u63db\u3048\u3089\u308c\u307e\u3057\u305f\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2016-08-16T03:06:20", "review_tags": []}, {"uuid": "8e72b1cf-e843-4f71-b36c-754c1b043bd1", "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": []}, {"uuid": "6aecb981-9202-4f86-a4f0-6596c30f32f0", "title": "Date.prototype.getYear()", "url": "/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Date/getYear", "tags": ["Reference", "Date", "Prototype", "JavaScript", "Deprecated", "Method"], "summary": "O m\u00e9todo\u00a0getYear()
\u00a0retorna o ano\u00a0especificado pela data de acordo com a hora local. Por conta do fato de que\u00a0getYear()
\u00a0n\u00e3o retorna anos completos\u00a0(\"problema do ano\u00a02000\"), este m\u00e9todo n\u00e3o \u00e9 mais utilizado e foi substituido pelo m\u00e9todo\u00a0getFullYear()
.", "localization_tags": [], "locale": "pt-BR", "last_edit": "2015-06-26T18:24:55", "review_tags": []}, {"uuid": "bb1495b4-90aa-4c49-aed8-3e27e251e943", "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": []}, {"uuid": "598fdbdb-77a1-417b-bdd0-80adce5bee38", "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": []}], "modified": "2016-07-31T09:59:16", "label": "Date.prototype.getYear()", "localization_tags": [], "locale": "en-US", "id": 7710, "last_edit": "2016-07-31T09:59:08", "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.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Return_value", "title": "Return value"}, {"id": "Description", "title": "Description"}, {"id": "Backward_compatibility", "title": "Backward compatibility"}, {"id": "Behavior_in_JavaScript_1.2_and_earlier", "title": "Behavior in JavaScript 1.2 and earlier"}, {"id": "Examples", "title": "Examples"}, {"id": "Years_between_1900_and_1999", "title": "Years between 1900 and 1999"}, {"id": "Years_above_1999", "title": "Years above 1999"}, {"id": "Years_below_1900", "title": "Years below 1900"}, {"id": "Setting_and_getting_a_year_between_1900_and_1999", "title": "Setting and getting a year between 1900 and 1999"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/JavaScript/Reference/Global_Objects/Date/getYear", "review_tags": []}