Why is new Date(“2020-12-15T07:35:33.000Z”).getHours() diferent on my server?

前端 未结 0 1036
囚心锁ツ
囚心锁ツ 2020-12-23 02:32

I have date in string:

2020-12-15T07:35:33.000Z

I need get hour by call new Date("2020-12-15T07:35:33.000Z").getHours()

相关标签:
回答
  • 消灭零回复
提交回复
热议问题