setMonth < Date < JavaScript
The setMonth() method of the Date object changes the month for the date according to local time. The month is zero based - January is 0. (The day can be passed/changed, too.)
const event = new Date('July 20, 2020 21:36:00');
event.setMonth(1);
const month = event.getMonth();
console.log(month);
// 1
console.log(event.toString());
// "Thu Feb 20 2020 21:36:00 GMT-0500 (Eastern Standard Time)"