网上的方法不能百分百产生毫秒时间戳(13位),有时会少几位。此方法解决了这个问题!
//返回当前的毫秒时间戳
function msectime(){
return floor(microtime(true)*1000);
}
网上的方法不能百分百产生毫秒时间戳(13位),有时会少几位。此方法解决了这个问题!
//返回当前的毫秒时间戳
function msectime(){
return floor(microtime(true)*1000);
}