Calculating Date in JavaScript

前端 未结 4 809
隐瞒了意图╮
隐瞒了意图╮ 2021-01-24 15:16

I am currently looking to calculate a custom date in JavaScript and my head is beginning to hurt thinking about it. I have a countdown clock that is to start every other Tuesda

4条回答
  •  时光说笑
    2021-01-24 15:51

    Have a look at the date.js library. It has several date parsing helpers including Date.today().next().tuesday() (among others).

提交回复
热议问题