.toLocaleString()
Term side of the Card
Topic: Date
Unit title: .toLocaleString()
Categories: Method
Explanation side of the Card
Explanation: The method that returns a string representing the date and time in the local timezone, formatted according to locale-specific conventions. It provides a complete representation of the date and time, with customization 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: