Get difference between two dates using jquery

后端 未结 5 2179
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-06 20:59

Can any one suggest a jQuery plugin for calculating the difference between two dates (dates may contain time also) and show it as \'32 days\', \'13 hours\', \'20 min\' etc?<

5条回答
  •  庸人自扰
    2021-01-06 21:19

    I highly recommend using the excellent datejs framework to easily do all your date time calculations

提交回复
热议问题