1 // 获取毫秒的时间戳 2 $time = explode ( " ", microtime () ); 3 $time = $time [1] . ($time [0] * 1000); 4 $time2 = explode ( ".", $time ); 5 $time = $time2 [0];