Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All Date.prototype.toJSON ( )

The toJSON method returns a String value that represents the instance in time that corresponds to the current Date object. All fields are present in the String. The time zone is always specified in UTC, denoted by the suffix Z. If this time value is not finite, null is returned.

This method is only defined for JScript 5.8.

© 2015 Microsoft