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

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

    const options = {
      weekday: 'long',
      year: 'numeric',
      month: 'long',
      day: 'numeric',
    };

    console.log(event.toLocaleDateString('de-DE', options));
    // Donnerstag, 20. Dezember 2012