Time per user

kg648

Verified User
Joined
Apr 5, 2007
Messages
23
I know how to do it in PHP but this is too annoying explaining how to do it to each user.

How can i change the timezone for a specific user or if not possible would it be a good idea for a feature?

Thanks.
 
I don't know of a way to do this but I think it's more of an OS specific function. Perhaps a forum related to your OS will be able to help.
 
Could it be done via the suPHP way? Then each user can have a php.ini of their own, hence can set the timezone in each?
Or.... set it in a .htaccess file with php value setting?

I don't know, I'm just clutching at straws......
 
Where are you trying to set the time? PHP, as far as I know, uses system calls for the time.

And the time is set server wide.

Or do you mean the way forums (such as this one) do it? If so you can set an offset in a configuration file, and then in your PHP code add or subtract the ordinal value of the offset before you display the time.

Jeff
 
Back
Top