Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/Types.html
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ <h2 id="Date"> Date </h2>
<pre><code data-lang="javascript">
new Date();
</code></pre>
<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.
<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.
</p>
<pre><code data-lang="javascript">
new Date( 2014, 0, 1, 8, 15 );
Expand Down