var curDate =new Date(Date()).getTime();
var beginDate = new Date(‘2021 13:41:07’.replace(/\-/g, '/')).getTime();
var endDate = new Date(‘2021 13:41:08’.replace(/\-/g, '/')).getTime();
if (curDate >= beginDate && curDate <= endDate) {
this.startValidDate = true;
}
js ios和安卓的兼容时间处理
最新推荐文章于 2024-01-24 22:06:57 发布