The setUTCHours() method of the Date object sets the hour of the date (according to UTC).

    
    const event = new Date('July 20, 2020 10:36:00 GMT-0500');

    event.setUTCHours(22);

    const hours = event.getUTCHours();
    console.log(hours);
    // 22