Date.toJSON() 方法 | Prototype JSON 教程

返回到:Prototype JSON 教程

此方法将日期转换为 JSON 字符串(遵循 JSON 使用的 ISO 格式)。

语法

Date.toJSON();

返回值

返回给定日期的字符串。

例子

HTML

返回到:Prototype JSON 教程

阅读剩余 31%

作者:terry,如若转载,请注明出处:https://www.web176.com/prototype_api/8472.html

(0)
打赏 支付宝 支付宝 微信 微信
terryterry
上一篇 2023年1月30日 下午4:34
下一篇 2023年1月30日 下午4:43

相关推荐

发表回复

登录后才能评论