function judgeFn(time, time1) {
return new Date(time).toDateString() === new Date(time1).toDateString();
}
js判断两个时间戳是否同一天
最新推荐文章于 2023-11-16 16:00:01 发布
function judgeFn(time, time1) {
return new Date(time).toDateString() === new Date(time1).toDateString();
}