if we received data like this:

,"Date":"\/Date(1410969600000)\/",

we can parse it like this:

var t = eval('new ' + time.toString().replace(/\//g, ''));
var M = t.getMonth() + 1 + '';
var d = t.getDate() + '';

 

相关文章:

  • 2021-08-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-01
  • 2021-06-08
  • 2021-12-19
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-06
  • 2021-07-16
  • 2021-09-23
  • 2021-12-30
相关资源
相似解决方案