JavaScript Date.prototype.toLocaleDateString() Method
The toLocaleDateString() method formats the date part of a Date for a given language and region, such as 28/11/2026 or November 28, 2026.
Description
The toLocaleDateString() method returns the date part formatted according to a locale's conventions, using Intl.DateTimeFormat internally. The same date shows as "11/28/2026" in the US and "28/11/2026" in Australia. Options let you show names of days and months and choose which parts appear. Without a locale, the user's own settings are used.
Each call creates a formatter internally, so when formatting many dates in a list, create one Intl.DateTimeFormat and reuse its format() method. Pass a timeZone option such as 'UTC' or 'Australia/Adelaide' to show the date in a particular zone rather than the user's.
The output is meant for display, so don't parse it back into a date or store it; formats differ between locales and browsers. For machine-readable dates, use toISOString().
Syntax
date.toLocaleDateString()
date.toLocaleDateString(locales, options)Parameters
- localesOptional. A language tag such as
"en-AU". - optionsOptional. Formatting options such as
weekday,year,month,dayandtimeZone.
Return Value
A string with the date part formatted for the language.
Example
Browser Support
The following information will show you the current browser support for the Date.prototype.toLocaleDateString() method. Hover over a browser icon to see the version that first introduced support for this method.
Desktop





Tablets & Mobile





