setFullYear()

Click the button to display a date after changing the year, month, and day.

Remember that JavaScript counts months from 0 to 11. Month 10 is November.