I am using PHP and mysql.
Scenario:
The registration form only required 2 fields. Email and password, and then, first user registered from England, second user from China, etc..
Is there any way to set timezone automatically for different countries of users in PHP? I checked php.net, but no lucks..
You could attempt to infer their country from their IP, and derive their timezone from that.
Alternatively, add something like this to the form and get Javascript to tell you the time zone offset used by the browser…