{"json_modified": "2015-04-17T05:07:53.767532", "slug": "Web/JavaScript/Reference/Global_Objects/Date/getYear", "tags": [], "locale": "zh-CN", "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": "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.", "localization_tags": [], "locale": "pl", "last_edit": "2014-05-31T00:08:31", "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": "/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-04-17T05:06:09", "label": "Date.prototype.getYear()", "localization_tags": ["inprogress"], "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Date/getYear", "last_edit": "2015-04-17T05:06:05", "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": "JavaScript \u6807\u51c6\u5e93 Date \u5c5e\u6027 Date.prototype \u65b9\u6cd5 Date.UTC() Date.now() Date.parse() Date.prototype.getDate() Date.prototype.getDay() Date.prototype.getFullYear() Date.prototype.getHours() Date.prototype.getMilliseconds() Date.prototype.getMinutes() Date.prototype.getMonth() Date.prototype.getSeconds() Date.prototype.getTime() Date.prototype.getTimezoneOffset() Date.prototype.getUTCDate() Date.prototype.getUTCDay() Date.prototype.getUTCFullYear() Date.prototype.getUTCHours() Date.prototype.getUTCMilliseconds() Date.prototype.getUTCMinutes() Date.prototype.getUTCMonth() Date.prototype.getUTCSeconds() Date.prototype.getYear() Date.prototype.setDate() Date.prototype.setFullYear() Date.prototype.setHours() Date.prototype.setMilliseconds() Date.prototype.setMinutes() Date.prototype.setMonth() Date.prototype.setSeconds() Date.prototype.setTime() Date.prototype.setUTCDate() [Translate] Date.prototype.setUTCFullYear() [Translate] Date.prototype.setUTCHours() [Translate] Date.prototype.setUTCMilliseconds() [Translate] Date.prototype.setUTCMinutes() [Translate] Date.prototype.setUTCMonth() [Translate] Date.prototype.setUTCSeconds() [Translate] Date.prototype.setYear() Date.prototype.toDateString() Date.prototype.toGMTString() Date.prototype.toISOString() Date.prototype.toJSON() Date.prototype.toLocaleDateString() Date.prototype.toLocaleFormat() [Translate] Date.prototype.toLocaleString() Date.prototype.toLocaleTimeString() Date.prototype.toSource() [Translate] Date.prototype.toString() Date.prototype.toTimeString() Date.prototype.toUTCString() Date.prototype.valueOf() \u7ee7\u627f Function \u5c5e\u6027 Function.arguments Function.arity caller Function.displayName [Translate] length name prototype \u65b9\u6cd5 Function.prototype.apply() bind call isGenerator Function.toSource Function.prototype.toString() Object \u5c5e\u6027 Object.prototype.__count__ [Translate] Object.prototype.__noSuchMethod__ [Translate] __parent__ __proto__ constructor \u65b9\u6cd5 Object.prototype.__defineGetter__() Object.prototype.__defineSetter__() Object.prototype.__lookupGetter__() Object.prototype.__lookupSetter__() [Translate] Object.prototype.hasOwnProperty() isPrototypeOf propertyIsEnumerable Object.prototype.toLocaleString() Object.toSource Object.prototype.toString() Object.prototype.unwatch() [Translate] Object.prototype.valueOf() watch"}, {"id": "Summary", "title": "Summary"}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Description", "title": "Returns"}, {"id": "Backward_Compatibility", "title": "Backward Compatibility"}, {"id": "JavaScript_1.2_and_earlier", "title": "Behaviour in JavaScript 1.2 and earlier"}, {"id": "Examples", "title": "Examples"}, {"id": "Example:_Years_between_1900_and_1999", "title": "Example: Years between 1900 and 1999"}, {"id": "Example:_Years_above_1999", "title": "Example: Years above 1999"}, {"id": "Example:_Years_below_1900", "title": "Example: Years below 1900"}, {"id": "Example:_Setting_and_getting_a_year_between_1900_and_1999", "title": "Example: 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"}], "id": 119195, "review_tags": []}