Skip to content

toISOString

Returns an ISO 8601 representation including the offset.

myDateTimeOffset.toISOString():string

Returns

A string suitable for serialized workflow values and host-to-host interchange.

Remarks

The browser representation omits milliseconds, while the server's .NET round-trip ("o") representation preserves fractional seconds. Do not use browser toISOString() where millisecond precision is required.