Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you retrieve the client user's time zone for a web application?

The question is as it sounds - how to retrieve the client user's time zone based on their browser input? If it matters, server side, J2EE is used - but I don't think that really matters in this case. Right now, HTTP is the protocol, it may use HTTPS when it goes live.

like image 790
MetroidFan2002 Avatar asked Mar 10 '09 14:03

MetroidFan2002


1 Answers

Probably you could use some javascript: http://jeoftp.blogspot.com/2009/03/determine-java-timezone-of-your-web.html

like image 164
Matvey Masov Avatar answered Sep 24 '22 07:09

Matvey Masov