The toLocaleString() method of the Date object returns a string with a geographic language representation of the date in the local timezone.

    
    const event = new Date(Date.UTC(2012, 11, 20, 3, 0, 0));

    // British English
    const event1 = event.toLocaleString('en-GB', { timeZone: 'UTC' });
    console.log(event1)
    // "20/12/2012, 03:00:00"

    // Korean
    const event2 = event.toLocaleString('ko-KR', { timeZone: 'UTC' });
    console.log(event2)
    // "2012. 12. 20. 오전 3:00:00"