34,333
edits
Changes
→Setting the Time and Date of the Date Object
</table>
== Setting the Time and Date of the JavaScript Date Object ==
Once an instance of a date object has been created it is often necessary to change specific properties (such as the time or the year) of that object. As one might expect, JavaScript includes a number of methods in the Date object to facilitate this: