diff options
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/date/getutchours/index.html')
-rw-r--r-- | files/zh-cn/web/javascript/reference/global_objects/date/getutchours/index.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/date/getutchours/index.html b/files/zh-cn/web/javascript/reference/global_objects/date/getutchours/index.html index 1ba8124b2e..15b62e78cf 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/date/getutchours/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/date/getutchours/index.html @@ -11,21 +11,21 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/getUTCHours -<h2 id="Syntax" name="Syntax">语法</h2> +<h2 id="Syntax">语法</h2> <pre class="syntaxbox"><code><var>dateObj</var>.getUTCHours()</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>getUTCHours()</code> 返回一个 0 到 23 的整数。</p> -<h2 id="Examples" name="Examples">例子</h2> +<h2 id="Examples">例子</h2> -<h3 id="Example:_Using_getUTCHours" name="Example:_Using_getUTCHours">例子: 使用 <code>getUTCHours()</code> 方法</h3> +<h3 id="Example:_Using_getUTCHours">例子: 使用 <code>getUTCHours()</code> 方法</h3> <p>下例将当前时间的小时部分赋值给变量 <code>hours</code>。</p> @@ -66,7 +66,7 @@ var hours = today.getUTCHours(); <p>{{Compat("javascript.builtins.Date.getUTCHours")}}</p> </div> -<h2 id="See_also" name="See_also">相关链接</h2> +<h2 id="See_also">相关链接</h2> <ul> <li>{{jsxref("Date.prototype.getHours()")}}</li> |