Returns a date as a string value in ISO format.
A string representation of the date in International Organization for Standardization (ISO) format.
The time zone is always UTC, denoted by the suffix Z in the output.
The following example illustrates the use of the toISOString method.
Supported in the following document modes: Internet Explorer 9 standards, Internet Explorer 10 standards, and Internet Explorer 11 standards. Also supported in Store apps (Windows 8 and Windows Phone 8.1). See Version Information.
Not supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards.