.toLocaleTimeString()

Term side of the Card
Topic: Date
Unit title: .toLocaleTimeString()
Categories: Method
Explanation side of the Card

Explanation: The method that returns a string representing the time portion of a `Date` object, formatted according to the local timezone and locale-specific conventions. It also allows customization of the time representation through specified options.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1
  • The safari browser supports this feature starting from version 1
Availability: