{"json_modified": "2015-08-06T11:27:18.261411", "slug": "Web/JavaScript/Referencia/Objectes_globals/Date/setHours", "tags": [], "locale": "ca", "title": "Date.prototype.setHours()", "translations": [{"title": "Date.prototype.setHours()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setHours", "tags": ["Reference", "prototype", "Method", "Date", "JavaScript"], "summary": "The setHours()
method sets the hours for a specified date according to local time, and returns the number of milliseconds since 1 January 1970 00:00:00 UTC until the time represented by the updated Date
instance.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-07-05T23:18:08", "review_tags": []}, {"title": "Date.prototype.setHours()", "url": "/pl/docs/Web/JavaScript/Referencje/Obiekty/Date/setHours", "tags": ["prototype", "Method", "Date", "JavaScript"], "summary": "Ustawia godziny dla okre\u015blonej daty stosownie do czasu lokalnego.", "localization_tags": [], "locale": "pl", "last_edit": "2015-04-18T13:53:07", "review_tags": []}, {"title": "Date.prototype.setHours()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Date/setHours", "tags": ["Reference", "Date", "R\u00e9f\u00e9rence", "prototype", "JavaScript", "Method"], "summary": "La m\u00e9thode setHours()
d\u00e9finit les heures pour une date donn\u00e9e, selon l'heure locale, et renvoie le nombre de milli\u00e8mes de secondes \u00e9coul\u00e9es entre le 1er janvier 1970 00:00:00 UTC et la nouvelle date mise \u00e0 jour.", "localization_tags": [], "locale": "fr", "last_edit": "2015-07-26T22:25:36", "review_tags": []}, {"title": "Date.prototype.setHours()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Date/setHours", "tags": [], "summary": "setHours()
\u00a0\u65b9\u6cd5\u6839\u636e\u672c\u5730\u65f6\u95f4\u4e3a\u4e00\u4e2a\u65e5\u671f\u5bf9\u8c61\u8bbe\u7f6e\u5c0f\u65f6\u6570\uff0c\u8fd4\u56de\u4ece1970-01-01 00:00:00 UTC \u5230\u66f4\u65b0\u540e\u7684 \u65e5\u671f
\u5bf9\u8c61\u5b9e\u4f8b\u6240\u8868\u793a\u65f6\u95f4\u7684\u6beb\u79d2\u6570\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2014-07-02T08:01:02", "review_tags": []}, {"title": "Date.prototype.setHours()", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Date/setHours", "tags": ["Reference", "Date", "R\u00e9f\u00e9rence", "prototype", "JavaScript", "Method"], "summary": "\u041c\u0435\u0442\u043e\u0434 setHours()
\u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0447\u0430\u0441\u044b \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u0434\u0430\u0442\u044b \u043f\u043e \u043c\u0435\u0441\u0442\u043d\u043e\u043c\u0443 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434, \u043f\u0440\u043e\u0448\u0435\u0434\u0448\u0438\u0445 \u0441 1 \u044f\u043d\u0432\u0430\u0440\u044f 1970 00:00:00 \u043f\u043e UTC \u0434\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c\u043e\u0433\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u0451\u043d\u043d\u044b\u043c \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u043e\u043c Date
.", "localization_tags": [], "locale": "ru", "last_edit": "2014-10-28T05:04:30", "review_tags": []}, {"title": "Date.prototype.setHours()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Date/setHours", "tags": ["Reference", "Date", "R\u00e9f\u00e9rence", "prototype", "JavaScript", "Method"], "summary": "\u5730\u65b9\u6642\u306b\u57fa\u3065\u304d\u3001\u6307\u5b9a\u3055\u308c\u305f\u65e5\u6642\u306e\u300c\u6642\u300d\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u30021 January 1970 00:00:00 UTC\u304b\u3089\u66f4\u65b0\u3055\u308c\u305fDate
\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u8868\u3059\u6642\u9593\u307e\u3067\u306e\u30df\u30ea\u79d2\u3092\u8fd4\u3057\u307e\u3059\u3002", "localization_tags": ["inprogress"], "locale": "ja", "last_edit": "2015-06-21T06:36:08", "review_tags": ["editorial"]}], "modified": "2015-08-06T11:27:16", "label": "Date.prototype.setHours()", "localization_tags": [], "url": "/ca/docs/Web/JavaScript/Referencia/Objectes_globals/Date/setHours", "last_edit": "2015-08-06T11:27:13", "summary": "El m\u00e8tode setHours()
assigna l'hora per a una data especificada d'acord a l'hora local, i retorna el nombre de milisegons que han passat des de l'u de gener de 1970 00:00:00 UTC fins al temps representat per la inst\u00e0ncia de Date
actualitzada.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Sintaxi", "title": "Sintaxi"}, {"id": "Versions_anteriors_a_JavaScript_1.3", "title": "Versions anteriors a JavaScript 1.3"}, {"id": "Par\u00e0metres", "title": "Par\u00e0metres"}, {"id": "Descripci\u00f3", "title": "Descripci\u00f3"}, {"id": "Exemples", "title": "Exemples"}, {"id": "Utilitzar_setHours()", "title": "Utilitzar "}, {"id": "Especificacions", "title": "Especificacions"}, {"id": "Compatibilitat_amb_navegadors", "title": "Compatibilitat amb navegadors"}, {"id": "Vegeu_tamb\u00e9", "title": "Vegeu tamb\u00e9"}], "id": 159215, "review_tags": []}