function getBrowserTime() {
d0 = new Date();
// return d0.toJSON().substr(0,19).replace(/[-T\:]/g,"");
var now = d0.getFullYear()*10000000000 + (d0.getMonth()+1)*100000000 + d0.getDate()*1000000 + d0.getHours()*10000 + d0.getMinutes()*100 + d0.getSeconds() + d0.getMilliseconds()/1000;
var d1 = new Date(d0);
d1.setDate(d1.getDate()-30);
o30 = d1.getFullYear()*100000000 + (d1.getMonth()+1)*1000000 + d1.getDate()*10000;
return now;
}
如果文章或资源对您有帮助,欢迎打赏作者。一路走来,感谢有您!
txttool.com 说一段 esp56物联 查询128 IP查询