34,333
edits
Changes
→Creating a JavaScript Date Object
<tr>
<td>''mm, dd, yyyy''<td>Initializes date object to the specified month, day and year.<td>var myDate = new Date(07, 24, 2008)</td>
<tr><td>''mm, dd, yyyy, hh, mm, ss''<td>Initializes the date object to the specified month, day, year, hours, minutes and seconds<td>var myDate = new Date (10, 27, 2010, 10, 0, 0)</td>
</table>