Number of days between two dates in ISO8601 date format

后端 未结 4 429
谎友^
谎友^ 2021-01-14 17:29

I want to do same thing as How do I get the number of days between two dates in JavaScript?

but I want do the same on this date format: 2000-12-31.

4条回答
  •  广开言路
    2021-01-14 17:50

    Well, it's not jQuery, but just as easy to work with. Check out DateJS. Can parse dates, differences, and more.

提交回复
热议问题