The 13-digit timestamp generation function is as follows:
private function getMillisecond() { list($t1, $t2) = explode(' ', microtime()); return (float)sprintf('%.0f',(floatval($t1)+floatval($t2))*1000); }
The above implementation code of PHP returning 13-digit timestamp is all the content shared by the editor. I hope it can give you a reference, and I also hope that everyone will support Bangkejia.