Skip to content

toISOString

Returns a string in simplified extended ISO format (ISO 8601).

1
myDateTimeOffset.toISOString():string

Returns

A string representing the date and time in ISO 8601 format.

See Also

  • https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Date/toISOString