set year in javascript

Solutions on MaxInterview for set year in javascript by the best coders in the world

showing results for - "set year in javascript"
Emilia
15 Aug 2019
1var d = new Date();
2d.setFullYear(2020);