34,333
edits
Changes
→Creating a JavaScript Date Object
<td>None<td>Creates a date object set to the users current system time<td>var currentDate = new Date()</td>
</tr>
<td>''month dd, yyy, hh:mm:ss'<td>Sets Date object to specified month, day and time. Omitted values are set to zero<td> var myDate = new Date("December 1, 2007, 12:01:00")</td>
</table>