let date = new Date(2022, 10, 3, 12, 38); // 2022-11-03T12:38:00.000Z
Date.prototype.addHours = function (H) {
this.setHours(this.getHours() + H);
};
date.addHours(4);
console.log(date); // 2022-11-03T16:38:00.000Z
bGV0IGRhdGUgPSBuZXcgRGF0ZSgyMDIyLCAxMCwgMywgMTIsIDM4KTsgLy8gMjAyMi0xMS0wM1QxMjozODowMC4wMDBaCgpEYXRlLnByb3RvdHlwZS5hZGRIb3VycyA9IGZ1bmN0aW9uIChIKSB7CiAgdGhpcy5zZXRIb3Vycyh0aGlzLmdldEhvdXJzKCkgKyBIKTsKfTsKCmRhdGUuYWRkSG91cnMoNCk7CmNvbnNvbGUubG9nKGRhdGUpOyAvLyAyMDIyLTExLTAzVDE2OjM4OjAwLjAwMFoK