This blog belon|

伏月廿柒

园龄:5年7个月粉丝:3关注:0

计算两个日期之间所隔天数

var date1 = new Date("06/30/2019"); 
var date2 = new Date("07/30/2019"); 
var Difference_In_Time = date2.getTime() - date1.getTime(); 
var Difference_In_Days = Difference_In_Time / (1000 * 3600 * 24);

本文作者:伏月廿柒

本文链接:https://www.cnblogs.com/by0627/p/16033803.html

版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。

posted @   伏月廿柒  阅读(34)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示
评论
收藏
关注
推荐
深色
回顶
收起