Working with server time using JavaScript and PHP example
See
relevant post
for details.
PHP source code of this file
The current time on this server is: