判断是否为同一天
function isSameFay(t) { return new Date(t).toDateString() === new Date().toDateString(); }
原文地址:https://www.cnblogs.com/justsilky/p/11555782.html
时间: 2024-10-14 06:58:57
判断是否为同一天
function isSameFay(t) { return new Date(t).toDateString() === new Date().toDateString(); }
原文地址:https://www.cnblogs.com/justsilky/p/11555782.html