如何使用当前IP地址获取TimeZone? [英] How can i get the TimeZone by using the current IP address?

查看:143
本文介绍了如何使用当前IP地址获取TimeZone?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想根据系统的IP地址找到本地用户的时区.

请帮帮我.

在此先感谢.

Hi All,

I want to locate the time zone of the local user according to the IP address of the system.

Please help me.

Thanks in Advance.

推荐答案

我在Google上找到了这个(搜索短语=通过IP地址进行地理位置定位"):

http://www.linuxjournal.com/article/7856 [
I found this with google (search phrase = "geolocation by ip address"):

http://www.linuxjournal.com/article/7856[^]


^ ]是一种方法,尽管还有其他方法,如果您知道如何使用 Google [ ^ ].
This[^] is one way though there are other, free solutions if you know how to use Google[^].


尝试使用 http://www.ip2location.com/free.asp [^ ]或任何类似的服务.
Try using http://www.ip2location.com/free.asp[^] or any similar service.


这篇关于如何使用当前IP地址获取TimeZone?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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