Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for Date.prototype.toLocaleTimeString().
Developer library 6
Firefox 29 release notes for developers
pe.localeCompare() - Number.prototype.toLocaleString() - Date.prototype.toLocaleString() - Date.prototype.toLocaleDateString() - Date.prototype.toLocaleTimeString() - To match the updated ECMAScript 2015 draft specification, the Map and Set objects now treat `-0` and `+0` as the same when checking for key and value equality. - `Promise` has been enabled by default ([Firefox bug 918806](https://bugzil
Date
`toString()` and returns the result. - toUTCString() returns a string in the format `Thu, 01 Jan 1970 00:00:00 GMT` (generalized 7231). - toLocaleDateString(), toLocaleTimeString(), and toLocaleString() use locale-specific date and time formats, usually provided by the [`Intl`](/docs/Web/JavaScript/Reference/Global_Objects/Intl) API. See the [Formats of `toString` method return values](#formats_of_tostring_method_re
Date.prototype.toLocaleTimeString()
The **`toLocaleTimeString()`** method of Date instances returns a string with a language-sensitive representation of the time portion of this date in the local timezone. In implementations with [`Intl.DateTimeFormat` API](/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat) support, this method delegates to `Intl.DateTimeFormat`. Every time `toLocaleTimeString` is called, it has to perform a search in
Date.prototype.toTimeString()
date interpreted as UTC instead of local timezone, use toUTCString(). - If you want to format the date in a more user-friendly format (e.g., localization), use toLocaleTimeString(). ## Examples ### Using toTimeString() ```js const d = new Date(0); console.log(d.toString()); // "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" console.log(d.toTimeString()); // "00:00:00 GMT+0000 (Coordinated Univers
Date.prototype.toLocaleDateString()
mber 20, 2012, UTC" ``` ## Specifications ## Browser compatibility ## See also - Intl.DateTimeFormat - Date.prototype.toLocaleString() - Date.prototype.toLocaleTimeString() - Date.prototype.toString()
Date.prototype.toLocaleString()
ocal time zone. ``` ## Specifications ## Browser compatibility ## See also - Intl.DateTimeFormat - Date.prototype.toLocaleDateString() - Date.prototype.toLocaleTimeString() - Date.prototype.toString()