const is_same_day = function(t)
{
return new Date(t).toDateString() === new Date().toDateString();
}
JS判断两个时间戳是否为同一天
最新推荐文章于 2024-07-17 15:26:15 发布
const is_same_day = function(t)
{
return new Date(t).toDateString() === new Date().toDateString();
}