Date.toJSON - Prototype JavaScript 框架
From Xunxin Prototype API
toJSON1.5.1
toJSON() -> String
将日期转换为 JSON 字符串(遵循 ISO 格式)。
样例
new Date(1969, 11, 31, 19).toJSON();
//-> '"1969-12-31T19:00:00"'
From Xunxin Prototype API
toJSON() -> String
将日期转换为 JSON 字符串(遵循 ISO 格式)。
new Date(1969, 11, 31, 19).toJSON();
//-> '"1969-12-31T19:00:00"'