The toLocaleTimeString()
method returns a string with a language-sensitive representation of the time portion of the date. The newer locales
and options
arguments let applications specify the language formatting conventions to use. These arguments can also customize the behavior of the function.
More dated implementations ignore the locales
and options
arguments. In these circumstances, the form of the string returned is entirely implementation-dependent.