How do I calculate the difference between 2 ISO dates in JavaScript?

后端 未结 0 339
攒了一身酷
攒了一身酷 2021-01-16 12:11

I am trying to calculate the difference between 2 ISO dates.

Here is my code:

var eventTime = ("2021-01-16T09:30:00-08:00");
var now = ("         


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