aboutsummaryrefslogtreecommitdiff
path: root/files/uk/web/javascript/reference/global_objects/date/toutcstring
diff options
context:
space:
mode:
authorRyan Johnson <rjohnson@mozilla.com>2021-04-29 16:16:42 -0700
committerGitHub <noreply@github.com>2021-04-29 16:16:42 -0700
commit95aca4b4d8fa62815d4bd412fff1a364f842814a (patch)
tree5e57661720fe9058d5c7db637e764800b50f9060 /files/uk/web/javascript/reference/global_objects/date/toutcstring
parentee3b1c87e3c8e72ca130943eed260ad642246581 (diff)
downloadtranslated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.tar.gz
translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.tar.bz2
translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.zip
remove retired locales (#699)
Diffstat (limited to 'files/uk/web/javascript/reference/global_objects/date/toutcstring')
-rw-r--r--files/uk/web/javascript/reference/global_objects/date/toutcstring/index.html109
1 files changed, 0 insertions, 109 deletions
diff --git a/files/uk/web/javascript/reference/global_objects/date/toutcstring/index.html b/files/uk/web/javascript/reference/global_objects/date/toutcstring/index.html
deleted file mode 100644
index 077f04aaad..0000000000
--- a/files/uk/web/javascript/reference/global_objects/date/toutcstring/index.html
+++ /dev/null
@@ -1,109 +0,0 @@
----
-title: Date.prototype.toUTCString()
-slug: Web/JavaScript/Reference/Global_Objects/Date/toUTCString
-tags:
- - Date
- - JavaScript
- - Довідка
- - метод
-translation_of: Web/JavaScript/Reference/Global_Objects/Date/toUTCString
----
-<div>{{JSRef}}</div>
-
-<p>Метод <strong><code>toUTCString()</code></strong> перетворює дату на рядок, використовуючи часовий пояс UTC.</p>
-
-<p>Заснований на <a href="https://tools.ietf.org/html/rfc7231#section-7.1.1.1">rfc7231</a> та змінений згідно з <a href="https://www.ecma-international.org/ecma-262/10.0/index.html#sec-date.prototype.toutcstring">ecma-262 toUTCString</a>, він може мати від'ємні значення у <a href="https://tc39.es/ecma262/#sec-date.prototype.toutcstring">версії 2021</a>.</p>
-
-<div>{{EmbedInteractiveExample("pages/js/date-toutcstring.html","shorter")}}</div>
-
-
-
-<h2 id="Синтаксис">Синтаксис</h2>
-
-<pre class="syntaxbox notranslate"><code><var>dateObj</var>.toUTCString()</code></pre>
-
-<h3 id="Повертає">Повертає</h3>
-
-<p>Рядкове представлення наданої дати з використанням часового поясу UTC.</p>
-
-<h2 id="Опис">Опис</h2>
-
-<p>Значення, яке повертає <code>toUTCString()</code>, є рядком у формі <code><var>Www</var>, <var>dd</var> <var>Mmm</var> <var>yyyy</var> <var>hh</var>:<var>mm</var>:<var>ss</var> GMT</code>, де:</p>
-
-<table class="standard-table">
- <thead>
- <tr>
- <th scope="col">Рядок</th>
- <th scope="col">Опис</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><code><var>Www</var></code></td>
- <td>День тижня у вигляді трьох літер (наприклад, Sun, Mon, ...)</td>
- </tr>
- <tr>
- <td><code><var>dd</var></code></td>
- <td>Двозначний день місяця, з першим нулем, якщо необхідно</td>
- </tr>
- <tr>
- <td><code><var>Mmm</var></code></td>
- <td>Місяць у вигляді трьох літер (наприклад, Jan, Feb, ...)</td>
- </tr>
- <tr>
- <td><code><var>yyyy</var></code></td>
- <td>Рік, чотири або більше цифр, з першими нулями, якщо необхідно</td>
- </tr>
- <tr>
- <td><code><var>hh</var></code></td>
- <td>Години, дві цифри з першим нулем, якщо необхідно</td>
- </tr>
- <tr>
- <td><code><var>mm</var></code></td>
- <td>Хвилини, дві цифри з першим нулем, якщо необхідно</td>
- </tr>
- <tr>
- <td><code><var>ss</var></code></td>
- <td>Секунди, дві цифри з першим нулем, якщо необхідно</td>
- </tr>
- </tbody>
-</table>
-
-<p>До появи ECMAScript 2018, формат значення, яке поверталось, залежив від платформи. Найпоширенішим варіантом була дата у форматі RFC-1123, що є трохи оновленою версією дати у форматі RFC-822.</p>
-
-<h2 id="Приклади">Приклади</h2>
-
-<h3 id="Використання_toUTCString">Використання <code>toUTCString()</code></h3>
-
-<pre class="brush: js notranslate">let today = new Date('Wed, 14 Jun 2017 00:00:00 PDT');
-let UTCstring = today.toUTCString(); // Wed, 14 Jun 2017 07:00:00 GMT
-</pre>
-
-<h2 id="Специфікації">Специфікації</h2>
-
-<table class="standard-table">
- <thead>
- <tr>
- <th scope="col">Специфікація</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{SpecName('ESDraft', '#sec-date.prototype.toutcstring', 'Date.prototype.toUTCString')}}</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.toUTCString")}}</p>
-
-<h2 id="Див._також">Див. також</h2>
-
-<ul>
- <li>{{jsxref("Date.prototype.toLocaleString()")}}</li>
- <li>{{jsxref("Date.prototype.toDateString()")}}</li>
- <li>{{jsxref("Date.prototype.toISOString()")}}</li>
-</ul>