The setSeconds() method of the Date object changes the seconds for the date according to local time. (The milliseconds can be passed/changed, too.)

    
    const event = new Date('July 20, 2020 21:36:00');

    event.setSeconds(55);

    const seconds = event.getSeconds();

    console.log(seconds);
    // 55