PHP timezone?

pushtun

New member
Does anyone know how to grab the timezone from the the user's browser/machine (if it's even possible)?

It would be nice to have the time set to the user's locale rather then where the server is.
 
I don't think it's possible.

I have users specify their timezone, and it is then stored in the database, but this only works if you have a user account/login system set up.
 
Andrew275 said:
I don't think it's possible.

I have users specify their timezone, and it is then stored in the database, but this only works if you have a user account/login system set up.

That's what I was thinking....but I thought maybe there was a function I was unaware of. It would porbably end up being considered a security or privacy risk or something.
 
Back
Top