aboutsummaryrefslogtreecommitdiff
path: root/files/uk/web/javascript/reference/global_objects/date/setminutes/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/uk/web/javascript/reference/global_objects/date/setminutes/index.html')
-rw-r--r--files/uk/web/javascript/reference/global_objects/date/setminutes/index.html80
1 files changed, 0 insertions, 80 deletions
diff --git a/files/uk/web/javascript/reference/global_objects/date/setminutes/index.html b/files/uk/web/javascript/reference/global_objects/date/setminutes/index.html
deleted file mode 100644
index 8dae7118e8..0000000000
--- a/files/uk/web/javascript/reference/global_objects/date/setminutes/index.html
+++ /dev/null
@@ -1,80 +0,0 @@
----
-title: Date.prototype.setMinutes()
-slug: Web/JavaScript/Reference/Global_Objects/Date/setMinutes
-tags:
- - Date
- - JavaScript
- - Довідка
- - метод
-translation_of: Web/JavaScript/Reference/Global_Objects/Date/setMinutes
----
-<div>{{JSRef}}</div>
-
-<p>Метод <strong><code>setMinutes()</code></strong> встановлює хвилини для вказаної дати згідно з місцевим часом.</p>
-
-<div>{{EmbedInteractiveExample("pages/js/date-setminutes.html")}}</div>
-
-
-
-<h2 id="Синтаксис">Синтаксис</h2>
-
-<pre class="syntaxbox notranslate"><code><var>dateObj</var>.setMinutes(<var>minutesValue</var>[, <var>secondsValue</var>[, <var>msValue</var>]])</code></pre>
-
-<h3 id="Версії_до_JavaScript_1.3">Версії до JavaScript 1.3</h3>
-
-<pre class="syntaxbox notranslate"><code><var>dateObj</var>.setMinutes(<var>minutesValue</var>)</code></pre>
-
-<h3 id="Параметри">Параметри</h3>
-
-<dl>
- <dt><code>minutesValue</code></dt>
- <dd>Ціле число між 0 та 59, що відображає хвилини.</dd>
- <dt><code>secondsValue</code></dt>
- <dd>Необов'язковий. Ціле число між 0 та 59, що відображає секунди.</dd>
- <dt><code>msValue</code></dt>
- <dd>Необов'язковий. Ціле число між 0 та 999, що відображає мілісекунди. Якщо ви вказуєте параметр <code>msValue</code>, ви також повинні вказати <code>secondsValue</code>.</dd>
-</dl>
-
-<h3 id="Повертає">Повертає</h3>
-
-<p>Кількість мілісекунд між 1 січня 1970 року 00:00:00 за UTC та оновленою датою.</p>
-
-<h2 id="Опис">Опис</h2>
-
-<p>Якщо ви не вказуєте параметри <code>secondsValue</code> та <code>msValue</code>, використовуються значення, що повертають методи {{jsxref("Date.prototype.getSeconds()", "getSeconds()")}} та {{jsxref("Date.prototype.getMilliseconds()", "getMilliseconds()")}}.</p>
-
-<p>Якщо вказаний вами параметр знаходиться за межами очікуваного діапазону, <code>setMinutes()</code> пробує оновити інші параметри та інформацію про дату у об'єкті {{jsxref("Date")}} відповідно. Наприклад, якщо ви вкажете 100 в якості <code>secondsValue</code>, хвилини будуть збільшені на 1 (<code>minutesValue + 1</code>), а 40 буде значенням секунд.</p>
-
-<h2 id="Приклади">Приклади</h2>
-
-<h3 id="Використання_setMinutes">Використання <code>setMinutes()</code></h3>
-
-<pre class="brush: js notranslate">var theBigDay = new Date();
-theBigDay.setMinutes(45);
-</pre>
-
-<h2 id="Специфікації">Специфікації</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">Специфікація</th>
- </tr>
- <tr>
- <td>{{SpecName('ESDraft', '#sec-date.prototype.setminutes', 'Date.prototype.setMinutes')}}</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.setMinutes")}}</p>
-
-<h2 id="Див._також">Див. також</h2>
-
-<ul>
- <li>{{jsxref("Date.prototype.getMinutes()")}}</li>
- <li>{{jsxref("Date.prototype.setUTCMinutes()")}}</li>
-</ul>