Page 1 of 1

Getting a user's timezone

Posted: Tue May 15, 2007 5:44 pm
by HiddenS3crets
Is there a way to get the timezone for a user?

Posted: Tue May 15, 2007 5:57 pm
by feyd
Ask them and/or use Javascript to ask their computer.

Posted: Tue May 15, 2007 10:10 pm
by invisible
If you had the knowledge and resources you could probably collect their ip, then trace where it is coming from and then run that location against all of the timezones to place them in the correct timezone.

Posted: Tue May 15, 2007 10:12 pm
by feyd
invisible wrote:If you had the knowledge and resources you could probably collect their ip, then trace where it is coming from and then run that location against all of the timezones to place them in the correct timezone.
IP location checking is by no means accurate, so the user should be able to choose if they wish. I would simply use Javascript to give a best guess.