Date.toJSON


Date.toJSON(date)
Returns a JSON representation of the Date object.
Not supported in IE less than 9. Not sure about IE9