DateTimeFormat
Explore the multiple options of the Intl.DateTimeFormat API to see how the date is formatted.
Whether to use 12-hour time (as opposed to 24-hour time).
Specific Formatting
The formatting style used for day periods like "in the morning", "am", "noon", "n" etc.
The representation of the weekday.
The representation of the era.
The representation of the year.
The representation of the month.
The representation of the day.
The representation of the hour.
The representation of the minute.
The representation of the second.
The number of digits used to represent fractions of a second (any additional digits are truncated).
12/13/2022
Code
new Intl.DateTimeFormat("")
.format( new Date() )