Skip to content

Commit 7fe431e

Browse files
trentlarsonkswedberg
authored andcommitted
Types page: add 'hour' to the Date param list. Closes jquery#485
1 parent cec12df commit 7fe431e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/Types.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ <h2 id="Date"> Date </h2>
433433
<pre><code data-lang="javascript">
434434
new Date();
435435
</code></pre>
436-
<p>To create a Date object for an alternative date and time, pass numeric arguments in the following order: year, month, day, minute, second, millisecond — although note that the month is zero-based, whereas the other arguments are one-based. The following creates a Date object representing January 1st, 2014, at 8:15.
436+
<p>To create a Date object for an alternative date and time, pass numeric arguments in the following order: year, month, day, hour, minute, second, millisecond — although note that the month is zero-based, whereas the other arguments are one-based. The following creates a Date object representing January 1st, 2014, at 8:15.
437437
</p>
438438
<pre><code data-lang="javascript">
439439
new Date( 2014, 0, 1, 8, 15 );

0 commit comments

Comments
 (0)