php - How to get the user's system clock time to display in a web application?
I noticed when I accessed my gmail account after I changed my system clock on windows 7 from Pacific to Eastern time, the timestamp in all my emails went up by 3 hours.
Is there a way I can obtain a user's system clock time so I can display it in a web application?
I mainly use php for writing web apps but I did not see and$_SESSION
variables that contain that information.
Answer
Solution:
PHP doesn't run on the client but on the server, so if you want to do this you can use some JavaScript.
}