The toUTCString() method of the Date object returns a string representing the date in the RFC 7231 format. Negative years are allowed. The timezone is always UTC. toGMTString() is an alias of this method.

    
    const event = new Date('14 Jun 2017 00:00:00 PDT');

    const utcString = event.toUTCString());

    console.log(timeString);
    // "Wed, 14 Jun 2017 07:00:00 GMT"