Skip to content

toISOString

JavaScript provides a direct way to convert a date object into a string in ISO format, the ISO 8601 Extended Format.

1
myDateTimeOffset.toISOString():string