{"json_modified": "2015-04-20T00:20:51.073424", "slug": "Web/JavaScript/Referencje/Obiekty/Date/setYear", "tags": ["prototype", "Method", "Date", "JavaScript"], "locale": "pl", "title": "Date.prototype.setYear()", "translations": [{"title": "Date.prototype.setYear()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setYear", "tags": ["Reference", "Date", "R\u00e9f\u00e9rence", "prototype", "JavaScript", "Deprecated", "Method"], "summary": "The setYear()
method sets the year for a specified date according to local time. Because setYear()
does not set full years (\"year 2000 problem\"), it is no longer used and has been replaced by the setFullYear()
method.", "localization_tags": [], "locale": "en-US", "last_edit": "2014-10-29T05:44:01", "review_tags": []}, {"title": "Date.prototype.setYear()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Date/setYear", "tags": ["Reference", "Date", "R\u00e9f\u00e9rence", "prototype", "JavaScript", "Deprecated", "Method"], "summary": "", "localization_tags": [], "locale": "fr", "last_edit": "2015-01-17T13:55:09", "review_tags": []}, {"title": "Date.prototype.setYear()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Date/setYear", "tags": [], "summary": "The setYear()
method sets the year for a specified date according to local time. Because setYear
does not set full years (\"year 2000 problem\"), it is no longer used and has been replaced by the setFullYear
method.", "localization_tags": ["inprogress"], "locale": "zh-CN", "last_edit": "2015-04-17T05:08:15", "review_tags": []}, {"title": "Date.prototype.setYear()", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Date/setYear", "tags": ["Reference", "Date", "R\u00e9f\u00e9rence", "prototype", "JavaScript", "Deprecated", "Method"], "summary": "", "localization_tags": [], "locale": "ru", "last_edit": "2014-10-29T05:54:43", "review_tags": []}], "modified": "2015-04-20T00:20:49", "label": "Date.prototype.setYear()", "localization_tags": [], "url": "/pl/docs/Web/JavaScript/Referencje/Obiekty/Date/setYear", "last_edit": "2015-04-19T10:21:34", "summary": "Ustawia rok dla okre\u015blonej daty stosownie do czasu lokalnego. Aby m\u00f3c korzysta\u0107 z rocznik\u00f3w przed i po roku 2000, powiniene\u015b u\u017cy\u0107 metody setFullYear()
zawieraj\u0105cej setYear()
, kt\u00f3ra rok potrafi okre\u015bli\u0107 w pe\u0142ni.", "sections": [{"id": "Quick_Links", "title": "Obiekty Date W\u0142asno\u015bci Date.prototype Metody 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() Date.prototype.setUTCFullYear() Date.prototype.setUTCHours() Date.prototype.UTCMilliseconds() Date.prototype.setUTCMinutes() Date.prototype.setUTCMonth() Date.prototype.setUTCSeconds() Date.prototype.setYear() Date.prototype.toDateString() [Translate] Date.prototype.toGMTString() Date.prototype.toISOString() [Translate] Date.prototype.toJSON() [Translate] Date.prototype.toLocaleDateString() Date.prototype.toLocaleFormat() [Translate] Date.prototype.toLocaleString() Date.prototype.toLocaleTimeString() Date.prototype.toSource() Date.prototype.toString() Date.prototype.toTimeString() [Translate] Date.prototype.toUTCString() Date.prototype.valueOf() Inheritance: Function W\u0142asno\u015bci Function.arguments Function.arity Function.caller Function.displayName [Translate] Function.length Function.name [Translate] Function.prototype [Translate] Metody Function.prototype.apply() [Translate] Function.prototype.bind() [Translate] Function.prototype.call() [Translate] Function.prototype.isGenerator() [Translate] Function.prototype.toSource() Function.prototype.toString() Object W\u0142asno\u015bci Object.prototype.__count__ [Translate] Object.prototype.__noSuchMethod__ [Translate] Object.prototype.__parent__ [Translate] Object.prototype.__proto__ [Translate] Object.prototype.constructor Metody Object.prototype.__defineGetter__() [Translate] Object.prototype.__defineSetter__() [Translate] Object.prototype.__lookupGetter__() [Translate] Object.prototype.__lookupSetter__() [Translate] Object.prototype.hasOwnProperty() [Translate] Object.prototype.isPrototypeOf() [Translate] Object.prototype.propertyIsEnumerable() [Translate] Object.prototype.toLocaleString() Object.prototype.toSource() Object.prototype.toString() Object.prototype.unwatch() Object.prototype.valueOf() Object.prototype.watch()"}, {"id": "Podsumowanie", "title": "Podsumowanie"}, {"id": "Sk.C5.82adnia", "title": "Sk\u0142adnia"}, {"id": "Parametry", "title": "Parametry"}, {"id": "Opis", "title": "Opis"}, {"id": "Przyk.C5.82ady", "title": "Przyk\u0142ady"}, {"id": "Przyk.C5.82ad:_Zastosowanie_setYear", "title": "Przyk\u0142ad: Zastosowanie setYear()"}, {"id": "Zobacz_tak.C5.BCe", "title": "Zobacz tak\u017ce"}], "id": 41371, "review_tags": []}