PHP manual states that time() returns \"the current UNIX timestamp\" ᴀ and microtime() returns the \"curre
time()
microtime()
PHP is a serverside language. The time() function will resolve to the system time of that server. If the server is running an NTP daemon then it will be leap second aware and adjust accordingly. PHP has no knowledge of this, but the system does.