How to get current time in milliseconds in PHP?

The short answer is:

$milliseconds = floor(microtime(true) * 1000);

Leave a Comment