.toISOString()
Term side of the Card
Topic: Date
Unit title: .toISOString()
Categories: Method
Explanation side of the Card
Explanation: The method that returns a string representing the date and time in ISO 8601 format: '2024-08-19T12:34:56.789Z'. It provides a standardized way to represent dates and times in UTC, without considering the local time zone.
Browser compatibility:
- The chrome browser supports this feature starting from version 3
- 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 4
Availability: