May 2011
Intermediate to advanced
1096 pages
40h 54m
English
Date.toJSON — JSON-serialize a Date object
ECMAScript 5
date.toJSON(key)
keyJSON.stringify()
passes this argument, but the toJSON() method ignores
it.
A string representation of the date, obtained by calling its
toISOString() method.
This method is used by JSON.stringify() to convert a Date object
to a string. It is not intended for general use.
Read now
Unlock full access