console.log(today.toString());  //Mon Nov 11 2019 11:19:12 GMT+0800 (中国标准时间)
    console.log(today.toISOString());  //2019-11-11T03:19:12.534Z
    console.log(today.toTimeString());  //11:19:12 GMT+0800 (中国标准时间)
    console.log(today.toUTCString());  //Mon, 11 Nov 2019 03:19:12 GMT
    console.log(today.toLocaleDateString());  //2019/11/11
    console.log(today.toLocaleString());        //2019/11/11 上午11:19:12
    console.log(today.toLocaleTimeString());  //上午11:19:12
 


problem.ts:
problem.ts:220 
problem.ts:221 
problem.ts:222 
problem.ts:223 
problem.ts:224 

相关文章:

  • 2022-12-23
  • 2022-02-07
  • 2021-09-23
  • 2022-12-23
  • 2021-11-27
  • 2021-11-27
  • 2021-11-21
猜你喜欢
  • 2022-12-23
  • 2021-09-28
  • 2022-12-23
  • 2022-02-20
  • 2022-12-23
  • 2022-12-23
  • 2022-03-02
相关资源
相似解决方案