34,333
edits
Changes
→Setting Specific Properties of a Date Object Instance
<td>setDate()<td>Sets the day of the month<td>myDate.setDate(20)</td>
<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>
</table>