JavaScript setFullYear()

The setFullYear() method can optionally set month and day.

Please note that month counts from 0. December is month 11: