aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/date/getutcmonth/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/date/getutcmonth/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/date/getutcmonth/index.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/date/getutcmonth/index.html b/files/zh-cn/web/javascript/reference/global_objects/date/getutcmonth/index.html
index 7b7147560d..6b2d4cd909 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/date/getutcmonth/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/date/getutcmonth/index.html
@@ -11,21 +11,21 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/getUTCMonth
-<h2 id="Syntax" name="Syntax">语法</h2>
+<h2 id="Syntax">语法</h2>
<pre class="syntaxbox"><code><var>dateObj</var>.getUTCMonth()</code></pre>
-<h3 id="Parameters" name="Parameters">参数</h3>
+<h3 id="Parameters">参数</h3>
<p>无。</p>
-<h3 id="Returns" name="Returns">返回值</h3>
+<h3 id="Returns">返回值</h3>
<p><code>getUTCMonth()</code> 返回一个 0 到 11 的整数,分别对应以下月份:0 代表一月,1 代表二月,2 代表三月,依次类推。</p>
-<h2 id="Examples" name="Examples">例子</h2>
+<h2 id="Examples">例子</h2>
-<h3 id="Example:_Using_getUTCMonth" name="Example:_Using_getUTCMonth">例子: 使用 <code>getUTCMonth()</code> 方法</h3>
+<h3 id="Example:_Using_getUTCMonth">例子: 使用 <code>getUTCMonth()</code> 方法</h3>
<p>下例将当前时间的月份赋值给变量 <code>month</code>。</p>
@@ -66,7 +66,7 @@ var month = today.getUTCMonth();
<p>{{Compat("javascript.builtins.Date.getUTCMonth")}}</p>
</div>
-<h2 id="See_also" name="See_also">相关链接</h2>
+<h2 id="See_also">相关链接</h2>
<ul>
<li>{{jsxref("Date.prototype.getMonth()")}}</li>