首页
mac
it
登录
6mi
u
盘
搜
搜 索
it
js 两个日期比较相差多少天
js 两个日期比较相差多少天
mac
2022-06-30
20
var
day1 =
new
Date("2017-9-17"
);
var
day2 =
new
Date("2017-10-18"
); console.log((day2
- day1) / (1000 * 60 * 60 * 24));
更多专业前端知识,请上
【猿2048】www.mk2048.com
转载请注明原文地址: https://mac.8miu.com/read-75017.html
最新回复
(
0
)