.NET按城市或经纬度获取时区 [英] .NET get timezone by city or by longitude and latitude

查看:120
本文介绍了.NET按城市或经纬度获取时区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用.NET,并且能够通过IP对用户城市进行地理位置定位.

I'm using .NET and I'm able to geolocate user city by IP.

是否有简单的方法可以长时间获取用户时区.和拉特.或城市名称?

Is there easy way to get user timezone by long. and lat. or city name?

我想知道facebook是怎么做到的?

I wonder how facebook is doing it?

谢谢

推荐答案

有一个Web服务可用于按城市或经度和纬度获取时区:

There is a web service you can use to get the timezone by city or longitude and latitude:

http://www.earthtools.org/webservices.htm#timezone

这篇关于.NET按城市或经纬度获取时区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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