Skip to content
Search

JavaScript:Date

lastmod 2024-01-26created 2023-11-235 edits

Date.prototype.toISOString()

The toISOString() method returns a string in simplified extended ISO format (ISO 8601).

The return value is always 24 or 27 characters long (YYYY-MM-DDTHH:mm:ss.sssZ or ±YYYYYY-MM-DDTHH:mm:ss.sssZ, respectively).

The timezone is always UTC, denoted by the suffix Z.

TimeZone

Listing time zones in the browser

Intl.supportedValuesOf('timeZone');

See also

author Zer0 sitemap