if(new Date('(13位时间戳 或者 日期格式例如:2022-9-1 09:20:00、2022/9/1 09:20:00)').toDateString() == new Date().toDateString())
console.log('同一天')
判断两个时间戳是否是同一天
于 2021-11-11 13:48:32 首次发布
if(new Date('(13位时间戳 或者 日期格式例如:2022-9-1 09:20:00、2022/9/1 09:20:00)').toDateString() == new Date().toDateString())
console.log('同一天')