diff options
Diffstat (limited to 'files/uk/web/javascript/reference/global_objects/date/getutchours/index.html')
| -rw-r--r-- | files/uk/web/javascript/reference/global_objects/date/getutchours/index.html | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/files/uk/web/javascript/reference/global_objects/date/getutchours/index.html b/files/uk/web/javascript/reference/global_objects/date/getutchours/index.html deleted file mode 100644 index a784f057a3..0000000000 --- a/files/uk/web/javascript/reference/global_objects/date/getutchours/index.html +++ /dev/null @@ -1,61 +0,0 @@ ---- -title: Date.prototype.getUTCHours() -slug: Web/JavaScript/Reference/Global_Objects/Date/getUTCHours -tags: - - Date - - JavaScript - - Довідка - - метод -translation_of: Web/JavaScript/Reference/Global_Objects/Date/getUTCHours ---- -<div>{{JSRef}}</div> - -<p>Метод <strong><code>getUTCHours()</code></strong> повертає години вказаної дати згідно з всесвітнім часом.</p> - -<div>{{EmbedInteractiveExample("pages/js/date-getutchours.html")}}</div> - - - -<h2 id="Синтаксис">Синтаксис</h2> - -<pre class="syntaxbox notranslate"><code><var>dateObj</var>.getUTCHours()</code></pre> - -<h3 id="Повертає">Повертає</h3> - -<p>Ціле число між 0 та 23, що відображає години у вказаній даті згідно з всесвітнім часом.</p> - -<h2 id="Приклади">Приклади</h2> - -<h3 id="Використання_getUTCHours">Використання <code>getUTCHours()</code></h3> - -<p>Наступний приклад присвоює значення години поточного часу змінній <code>hours</code>.</p> - -<pre class="brush: js notranslate">var today = new Date(); -var hours = today.getUTCHours(); -</pre> - -<h2 id="Специфікації">Специфікації</h2> - -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Специфікація</th> - </tr> - <tr> - <td>{{SpecName('ESDraft', '#sec-date.prototype.getutchours', 'Date.prototype.getUTCHours')}}</td> - </tr> - </tbody> -</table> - -<h2 id="Сумісність_з_веб-переглядачами">Сумісність з веб-переглядачами</h2> - -<p class="hidden">The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> and send us a pull request.</p> - -<p>{{Compat("javascript.builtins.Date.getUTCHours")}}</p> - -<h2 id="Див._також">Див. також</h2> - -<ul> - <li>{{jsxref("Date.prototype.getHours()")}}</li> - <li>{{jsxref("Date.prototype.setUTCHours()")}}</li> -</ul> |
