I am using php and receiving a timestamp from the server which is in GMT time. How do I update the timestamp to be in the user's timezone (not the server's timezone) or to get the difference between the user's timezone and GMT?
I have already tried
date("Z");
but it returned 0