你如何检索Web应用程序客户端用户的时区? [英] How do you retrieve the client user's time zone for a web application?

查看:111
本文介绍了你如何检索Web应用程序客户端用户的时区?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在的问题是因为它的声音 - 根据其浏览器中输入如何检索客户端用户的时区?如果它的事项,服务器端,J2EE使用 - 但我不认为在这种情况下真正重要的。眼下,HTTP是协议,当它活它可能使用HTTPS。

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.

推荐答案

也许你可以使用一些javascript:的 http://jeoftp.blogspot.com/2009/03/determine-java-timezone-of-your-web.html

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

这篇关于你如何检索Web应用程序客户端用户的时区?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆