PHP获取毫秒时间戳

 

    //获取毫秒时间
    function microsecond()
    {
        $t = explode(" ", microtime());
        $microsecond = round(round($t[1].substr($t[0],2,3)));
        return $microsecond;
    }

 

posted @ 2019-12-20 11:04  方倍工作室  阅读(4682)  评论(0编辑  收藏  举报