Intl.DateTimeFormat.prototype.format

Formats a date according to the locale and formatting options of this Intl.DateTimeFormat object.

Set up your formatter

locales
dateStyle
timeStyle
calendar
dayPeriod
numberingSystem
localeMatcher
timeZone
hour12
hourCycle
formatMatcher
weekday
era
year
month
day
hour
minute
second
fractionalSecondDigits
timeZoneName
input

This is what you get …

8/21/2025

… if you call this code:

new Intl.DateTimeFormat(["en-US"], {}).format(
  new Date()
);

other locales

🇺🇸 en-US8/21/2025
🇨🇿 cs-CZ21. 8. 2025
🇧🇷 pt-BR21/08/2025
🇵🇱 pl-PL21.08.2025
🇲🇰 mk-MK8/21/2025
🇪🇪 et-EE21.8.2025
🇮🇹 it-IT21/08/2025
🇨🇦 en-CA2025-08-21
🇬🇧 en-GB21/08/2025
🇸🇰 sk-SK21. 8. 2025
🇵🇹 pt-PT21/08/2025
🇧🇦 bs-Latn-BA2025-08-21
🇷🇺 ru-RU21.08.2025
🇩🇪 de-DE21.8.2025
🇮🇪 en-IE21/8/2025
🇭🇷 hr-HR21. 08. 2025.