34,333
edits
Changes
→Setting Specific Properties of a Date Object Instance
<tr>
<td>setMonth()<td>Sets the month of the year. Note that that this is a zero based value (i.e 0 = January)<td>myDate.setMonth(10)</td>
<td>setFullYear()<td>Sets the year. N<td>myDate.setMonth(2010)</td>
</table>