php生成yyyyMMddHHmmssSSS格式时间字符串

$time=date('YmdHis', time()).$this->get_millisecond();


function get_millisecond(){
        list($usec, $sec) = explode(" ", microtime());
        $msec=round($usec*1000);
        return $msec;
    }

  

posted @ 2020-06-24 10:08  小ྀ青ྀ年້  阅读(811)  评论(0编辑  收藏  举报