{"json_modified": "2015-06-26T18:25:01.662971", "slug": "Web/JavaScript/Reference/Global_Objects/Date/getYear", "tags": ["method", "Reference", "Date", "prototype", "JavaScript", "deprecated", "Deprecated", "Method"], "locale": "pt-BR", "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": []}, {"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": []}], "modified": "2015-06-26T18:24:59", "label": "Date.prototype.getYear()", "localization_tags": [], "url": "/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Date/getYear", "last_edit": "2015-06-26T18:24:55", "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().", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Summary", "title": "Resumo"}, {"id": "Syntax", "title": "Sintaxe"}, {"id": "Parameters", "title": "Par\u00e2metros"}, {"id": "Returns", "title": "Retorna"}, {"id": "Backward_compatibility", "title": "Retrocombatibilidade"}, {"id": "JavaScript_1.2_and_earlier", "title": "Comportamento em\u00a0JavaScript 1.2 e anteriores"}, {"id": "Examples", "title": "Exemplos"}, {"id": "Example:_Years_between_1900_and_1999", "title": "Exemplo: Anos entre\u00a01900 e\u00a01999"}, {"id": "Example:_Years_above_1999", "title": "Exemplo: Anos\u00a0depois de\u00a01999"}, {"id": "Example:_Years_below_1900", "title": "Exemplo: Anos antes de 1900"}, {"id": "Example:_Setting_and_getting_a_year_between_1900_and_1999", "title": "Exemplo: Setando e recuperando um ano entre\u00a01900 e\u00a01999"}, {"id": "Especifica\u00e7\u00f5es", "title": "Especifica\u00e7\u00f5es"}, {"id": "Compatibilidade_com_browsers", "title": "Compatibilidade com browsers"}, {"id": "See_also", "title": "Veja tamb\u00e9m"}], "id": 154729, "review_tags": []}