aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/date/gettime/index.html
diff options
context:
space:
mode:
authort7yang <t7yang@gmail.com>2022-01-10 08:38:07 +0800
committerIrvin <irvinfly@gmail.com>2022-02-16 02:35:54 +0800
commitc40612041809fe289aba58aefa170bbe784aba1f (patch)
tree8ca89b071d04afcf7abd6d9a04d0765a041d9c8a /files/zh-cn/web/javascript/reference/global_objects/date/gettime/index.html
parent12a899ab8540bc84f56a0dc6491be80a48499d49 (diff)
downloadtranslated-content-c40612041809fe289aba58aefa170bbe784aba1f.tar.gz
translated-content-c40612041809fe289aba58aefa170bbe784aba1f.tar.bz2
translated-content-c40612041809fe289aba58aefa170bbe784aba1f.zip
remove name attribute for zh-CN
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/date/gettime/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/date/gettime/index.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/date/gettime/index.html b/files/zh-cn/web/javascript/reference/global_objects/date/gettime/index.html
index 8e8bb5bd41..d42eb7731c 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/date/gettime/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/date/gettime/index.html
@@ -18,19 +18,19 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/getTime
-<h2 id="Syntax" name="Syntax">语法</h2>
+<h2 id="Syntax">语法</h2>
<pre class="syntaxbox"><code>dateObj.getTime() </code></pre>
-<h3 id="Parameters" name="Parameters">参数</h3>
+<h3 id="Parameters">参数</h3>
<p>无。</p>
-<h3 id="Description" name="Description">返回值</h3>
+<h3 id="Description">返回值</h3>
<p><code>getTime</code> 方法的返回值一个数值,表示从1970年1月1日0时0分0秒(UTC,即协调世界时)距离该日期对象所代表时间的毫秒数。</p>
-<h2 id="Examples" name="Examples">例子</h2>
+<h2 id="Examples">例子</h2>
<h3 id="使用_getTime()_复制日期对象">使用 getTime() 复制日期对象</h3>
@@ -86,7 +86,7 @@ console.log("Operation took " + (end.getTime() - start.getTime()) + " msec");</p
<p>{{Compat("javascript.builtins.Date.getTime")}}</p>
-<h2 id="See_Also" name="See_Also">相关链接</h2>
+<h2 id="See_Also">相关链接</h2>
<ul>
<li>{{jsxref("Date.prototype.setTime()")}}</li>