|
|
|
|
|
by perennate
3456 days ago
|
|
From [1], it is likely messier than that: > 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. > It took me a long time to understand this, but what happens is that the timestamp increases during the leap second, and when the leap second is over, the timestamp (but not the UTC!) jumps back one second. [1] http://stackoverflow.com/questions/7780464/is-time-guarantee... |
|