Data对象的parse
程序员文章站
2022-05-01 18:10:18
...
以前好像没咋在意这个方法:
Date.parse(dataString)
The Date.parse()
method parses a string representation of a date, and returns the number of milliseconds since January 1, 1970, 00:00:00 UTC.
扩展阅读:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse
http://hi.baidu.com/baisiye/item/e692aebb7e0934d785dd79fa
下一篇: 原生JSON对象及兼容问题的解决