Shows only first 13 numbers due to floating point being a problem showing decimal place. echo substr(microtime(true) * 1000, 0, 13);
echo substr(microtime(true) * 1000, 0, 13);