mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-12-20 10:25:54 +08:00
语法高亮,滚动条美化,设置页面调整
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<div><iframe class="interactive interactive-js" frameborder="0" height="250" src="https://interactive-examples.mdn.mozilla.net/pages/js/date-settime.html" width="100%"></iframe></div>
|
||||
<p class="hidden">The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a class="external" href="https://github.com/mdn/interactive-examples" rel="noopener">https://github.com/mdn/interactive-examples</a> and send us a pull request.</p>
|
||||
<h2 id="Syntax" name="Syntax">语法</h2>
|
||||
<pre class="syntaxbox"><var>dateObj</var>.setTime(<em>timeValue</em>)</pre>
|
||||
<pre><code class="language-javascript"><var>dateObj</var>.setTime(<em>timeValue</em>)</code></pre>
|
||||
<h3 id="Parameters" name="Parameters">参数</h3>
|
||||
<dl>
|
||||
<dt><code>timeValue</code></dt>
|
||||
@@ -17,7 +17,7 @@
|
||||
<pre>theBigDay = new Date("July 1, 1999");
|
||||
sameAsBigDay = new Date();
|
||||
sameAsBigDay.setTime(theBigDay.getTime());
|
||||
</pre>
|
||||
</code></pre>
|
||||
<h2 id="规范">规范</h2>
|
||||
<table class="standard-table">
|
||||
<tbody>
|
||||
|
||||
Reference in New Issue
Block a user