Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经从AudioBooAPI 中提取数据。每个重新编码都有一个记录/提交的时间,但它是这种格式......
AudioBoo
2012-04-11T09:57:38Z
有什么方法可以将其转换为类似
11th April 2012
最好使用datajs。这是doco和格式说明符。
var x = new Date('2012-04-11T09:57:38Z'), result = x.toString('ddS MMMM yyyy'); alert( result );
演示